summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T6129.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T6129.hs')
-rw-r--r--testsuite/tests/polykinds/T6129.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T6129.hs b/testsuite/tests/polykinds/T6129.hs
new file mode 100644
index 0000000000..2f163de192
--- /dev/null
+++ b/testsuite/tests/polykinds/T6129.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE DataKinds #-}
+
+module T6129 where
+
+data family D a
+data instance D a = DInt
+
+data X a where
+ X1 :: X DInt