diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T12045c.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T12045c.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T12045c.hs b/testsuite/tests/typecheck/should_fail/T12045c.hs new file mode 100644 index 0000000000..56c2d15abc --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T12045c.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE PolyKinds, TypeApplications, KindSignatures, DataKinds, GADTs + , TypeFamilies, RankNTypes #-} + +module T12045c where +import Data.Kind + +type family F a where + F @Type a = Bool + F @(Type -> Type) b = Char |