summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks010.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks010.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks010.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks010.hs b/testsuite/tests/saks/should_compile/saks010.hs
new file mode 100644
index 0000000000..20dd2413b0
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks010.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE RankNTypes, PolyKinds, DataKinds #-}
+
+module SAKS_010 where
+
+import Data.Kind (Type)
+
+type W :: forall (a :: forall k. k -> Type) -> a Int -> a Maybe -> Type
+data W x (y :: x Int) (z :: x Maybe)