diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T21092.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_fail/T21092.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T21092.hs b/testsuite/tests/indexed-types/should_fail/T21092.hs new file mode 100644 index 0000000000..7b92656d46 --- /dev/null +++ b/testsuite/tests/indexed-types/should_fail/T21092.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TypeFamilies #-} +module T21092 where + +import Data.Kind + +type family F a + +type instance F Type = Int +type instance F Constraint = Bool |