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