diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/SimpleFail8.hs')
-rw-r--r-- | testsuite/tests/indexed-types/should_fail/SimpleFail8.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail8.hs b/testsuite/tests/indexed-types/should_fail/SimpleFail8.hs new file mode 100644 index 0000000000..cefb00f5b0 --- /dev/null +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail8.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE TypeFamilies #-} + +module ShouldFail where + +-- must fail: C6 has no ATs S3 and Map +class C6 a + +instance C6 Integer where + data Map Integer v = MapInteger + data S3 Integer = S3Integer |