summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T5716.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T5716.hs')
-rw-r--r--testsuite/tests/polykinds/T5716.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T5716.hs b/testsuite/tests/polykinds/T5716.hs
new file mode 100644
index 0000000000..572de5e4e8
--- /dev/null
+++ b/testsuite/tests/polykinds/T5716.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE GADTs #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE PolyKinds, DataKinds #-}
+
+module T5716 where
+
+
+data family DF a
+data instance DF Int = DFInt
+
+data U = U1 (DF Int)
+
+data I :: U -> * where I1 :: I (U1 DFInt)