summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-02-06 15:16:51 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-02-06 15:16:51 +0000
commit0f75a3f0a15ac26e52dc3477fd6e5bc3cd5c6eca (patch)
tree72a8a3972ec9bb9466d3b8eb2dda903421cb00bc
parentdda652826326022e4604d7b0fdc82c1993e32a67 (diff)
downloadhaskell-0f75a3f0a15ac26e52dc3477fd6e5bc3cd5c6eca.tar.gz
Test Trac #10041
-rw-r--r--testsuite/tests/polykinds/T10041.hs10
-rw-r--r--testsuite/tests/polykinds/all.T2
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T10041.hs b/testsuite/tests/polykinds/T10041.hs
new file mode 100644
index 0000000000..920252f433
--- /dev/null
+++ b/testsuite/tests/polykinds/T10041.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PolyKinds, TypeFamilies, DataKinds #-}
+{-# LANGUAGE TypeOperators, GADTs, InstanceSigs #-}
+
+module T10041 where
+
+data family Sing (a :: k)
+data instance Sing (xs :: [k]) where
+ SNil :: Sing '[]
+
+class SingI (a :: ΔΈ) where \ No newline at end of file
diff --git a/testsuite/tests/polykinds/all.T b/testsuite/tests/polykinds/all.T
index c86e317bf0..73213874e3 100644
--- a/testsuite/tests/polykinds/all.T
+++ b/testsuite/tests/polykinds/all.T
@@ -114,3 +114,5 @@ test('T9838', normal, multimod_compile, ['T9838.hs','-v0'])
test('T9574', normal, compile_fail, [''])
test('T9833', normal, compile, [''])
test('T7908', normal, compile, [''])
+test('T10041', normal, compile, [''])
+