summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs')
-rw-r--r--testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs
new file mode 100644
index 0000000000..a87d5e515d
--- /dev/null
+++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.hs
@@ -0,0 +1,4 @@
+{-# LANGUAGE TypeFamilies #-}
+
+data family T1 a :: * -> *
+data instance T1 Int = T1_1 -- must fail: too few args