summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks026.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks026.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks026.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks026.hs b/testsuite/tests/saks/should_compile/saks026.hs
new file mode 100644
index 0000000000..a8a3967a0d
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks026.hs
@@ -0,0 +1,15 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE RankNTypes, DataKinds, PolyKinds, GADTs, TypeFamilies #-}
+
+module SAKS_026 where
+
+import Data.Kind
+
+data HigherRank (f :: forall x. x -> Type)
+
+data P :: forall k. k -> Type
+
+type PSyn :: forall k. k -> Type
+type PSyn = (P :: forall k. k -> Type)
+
+type Test = HigherRank PSyn