summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/BadTelescope.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/BadTelescope.hs')
-rw-r--r--tests/examples/ghc86/BadTelescope.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examples/ghc86/BadTelescope.hs b/tests/examples/ghc86/BadTelescope.hs
new file mode 100644
index 0000000..7819c4f
--- /dev/null
+++ b/tests/examples/ghc86/BadTelescope.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeInType #-}
+
+module BadTelescope where
+
+import Data.Kind
+
+data SameKind :: k -> k -> Type
+
+data X a k (b :: k) (c :: SameKind a b)