diff options
Diffstat (limited to 'testsuite/tests/polykinds/T11554.hs')
-rw-r--r-- | testsuite/tests/polykinds/T11554.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T11554.hs b/testsuite/tests/polykinds/T11554.hs new file mode 100644 index 0000000000..e7a35bd9d8 --- /dev/null +++ b/testsuite/tests/polykinds/T11554.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE GADTs, TypeInType, RankNTypes #-} + +module T11554 where + +import Data.Kind + +data P (x :: k) = Q + +data A :: Type where + B :: forall (a :: A). P a -> A |