summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_compile/saks004.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_compile/saks004.hs')
-rw-r--r--testsuite/tests/saks/should_compile/saks004.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_compile/saks004.hs b/testsuite/tests/saks/should_compile/saks004.hs
new file mode 100644
index 0000000000..1a4cdbafd3
--- /dev/null
+++ b/testsuite/tests/saks/should_compile/saks004.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE MultiParamTypeClasses, PolyKinds, ConstraintKinds #-}
+
+module SAKS_004 where
+
+import Data.Kind (Type, Constraint)
+
+type C :: (k -> Type) -> k -> Constraint
+class C a b where
+ f :: a b