summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail042.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail042.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail042.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail042.hs b/testsuite/tests/rename/should_fail/rnfail042.hs
new file mode 100644
index 0000000000..16c01f3450
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail042.hs
@@ -0,0 +1,9 @@
+-- Uses of built-in syntax should provoke a decent error message
+
+module ShouldFail where
+
+data T0 = ()
+data T3= (,,,)
+data Nil = []
+data List = Int : Bool
+