summaryrefslogtreecommitdiff
path: root/testsuite/tests/saks/should_fail/saks_fail014.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/saks/should_fail/saks_fail014.hs')
-rw-r--r--testsuite/tests/saks/should_fail/saks_fail014.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/saks/should_fail/saks_fail014.hs b/testsuite/tests/saks/should_fail/saks_fail014.hs
new file mode 100644
index 0000000000..e68f448f73
--- /dev/null
+++ b/testsuite/tests/saks/should_fail/saks_fail014.hs
@@ -0,0 +1,11 @@
+{-# LANGUAGE StandaloneKindSignatures #-}
+{-# LANGUAGE TypeFamilies, PolyKinds, ExplicitForAll #-}
+
+module SAKS_Fail014 where
+
+import Data.Kind (Type)
+
+type T :: forall k. k
+type family T :: forall j. j where
+ T = Maybe
+ T = Integer