summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T5935.hs
diff options
context:
space:
mode:
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