summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs b/testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs
new file mode 100644
index 0000000000..ab894db1b1
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/BadFamInstDecl.hs
@@ -0,0 +1,4 @@
+module BadFamInstDecl where
+import BadFamInstDecl_aux
+
+type instance T Int = Char