summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks035.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks035.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks035.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks035.hs b/testsuite/tests/saks/should_compile/saks035.hs
new file mode 100644
index 0000000000..e4b5fe7d66
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks035.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE DataKinds, PolyKinds, TypeFamilies #-}
+
+module SAKS_035 where
+
+import Data.Proxy
+import Data.Kind
+
+type C :: Proxy i -> Constraint
+class C (a :: Proxy z) where
+ -- F :: k -> Type
+ type F z