summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail002.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail002.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail002.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail002.hs b/testsuite/tests/rename/should_fail/rnfail002.hs
new file mode 100644
index 0000000000..ab387223fc
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail002.hs
@@ -0,0 +1,10 @@
+-- !!! rn001: super-simple set of bindings,
+-- !!! incl wildcard pattern-bindings and *duplicates*
+
+x = []
+y = []
+y = []
+_ = []
+_ = 1
+z = []
+_ = []