summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T5935.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-03-16 15:05:54 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2012-03-16 15:05:54 +0000
commita9c1acef7e0808dedaee762581550a0338332ce4 (patch)
tree9ca2a9100cd3bec25753b3b4780619d400c34e4b /testsuite/tests/polykinds/T5935.hs
parent4feb0ead4611cf0be51a556ecd5321ab09ddd3e2 (diff)
downloadhaskell-a9c1acef7e0808dedaee762581550a0338332ce4.tar.gz
Test Trac #5935
Diffstat (limited to 'testsuite/tests/polykinds/T5935.hs')
-rw-r--r--testsuite/tests/polykinds/T5935.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T5935.hs b/testsuite/tests/polykinds/T5935.hs
new file mode 100644
index 0000000000..3f9184d1c7
--- /dev/null
+++ b/testsuite/tests/polykinds/T5935.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE PolyKinds,
+ GADTs,
+ DataKinds,
+ KindSignatures
+ #-}
+
+module T5935 where
+
+data SList a where
+ SNil :: SList '[]
+
+x :: SList ('[] :: [Bool])
+x = SNil