diff options
Diffstat (limited to 'testsuite/tests/polykinds/T11142.hs')
-rw-r--r-- | testsuite/tests/polykinds/T11142.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T11142.hs b/testsuite/tests/polykinds/T11142.hs new file mode 100644 index 0000000000..58eb3b6c94 --- /dev/null +++ b/testsuite/tests/polykinds/T11142.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TypeInType, RankNTypes #-} + +module T11142 where + +import Data.Kind + +data SameKind :: k -> k -> * + +foo :: forall b. (forall k (a :: k). SameKind a b) -> () +foo = undefined |