summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/OverC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/OverC.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/OverC.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/OverC.hs b/testsuite/tests/indexed-types/should_fail/OverC.hs
new file mode 100644
index 0000000000..01f82d9170
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/OverC.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE TypeFamilies #-}
+
+module OverC
+where
+import OverA (C, D)
+
+data instance C [a] [Int] = C9ListList
+
+type instance D [a] [Int] = Char