summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/T11142.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ghc86/T11142.hs')
-rw-r--r--tests/examples/ghc86/T11142.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/examples/ghc86/T11142.hs b/tests/examples/ghc86/T11142.hs
new file mode 100644
index 0000000..c73918f
--- /dev/null
+++ b/tests/examples/ghc86/T11142.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE TypeInType, RankNTypes #-}
+
+module T11142 where
+
+import Data.Kind
+
+data SameKind :: k -> k -> Type
+
+foo :: forall b. (forall k (a :: k). SameKind a b) -> ()
+foo = undefined