summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks019.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks019.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks019.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks019.hs b/testsuite/tests/saks/should_compile/saks019.hs
new file mode 100644
index 0000000000..6e97db5c49
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks019.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE DataKinds, PolyKinds, ExplicitForAll #-}
+
+module SAKS_019 where
+
+import Data.Kind (Type)
+
+data P (a :: k)
+
+type T :: forall a. P a -> Type
+data T (y :: P (b :: j))