summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14904b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T14904b.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T14904b.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T14904b.hs b/testsuite/tests/typecheck/should_fail/T14904b.hs
new file mode 100644
index 0000000000..529b273245
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T14904b.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE PolyKinds #-}
+module T14904b where
+
+import Data.Kind
+
+type family F f :: Type where
+ F ((f :: forall a. g a) :: forall a. g a) = Int