summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/SigTvKinds.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/SigTvKinds.hs')
-rw-r--r--testsuite/tests/polykinds/SigTvKinds.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/SigTvKinds.hs b/testsuite/tests/polykinds/SigTvKinds.hs
new file mode 100644
index 0000000000..782a7b3f8b
--- /dev/null
+++ b/testsuite/tests/polykinds/SigTvKinds.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE PolyKinds #-}
+
+module SigTvKinds where
+
+data T (a :: k1) x = MkT (S a ())
+data S (b :: k2) y = MkS (T b ())
+ -- tests TcTyClsDecls.no_sig_tv