summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail004.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail004.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail004.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail004.hs b/testsuite/tests/rename/should_fail/rnfail004.hs
new file mode 100644
index 0000000000..90a97f894c
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail004.hs
@@ -0,0 +1,8 @@
+-- !!! multiple definitions, but hidden in patterns
+module Foo where
+
+f x = x
+ where
+ a = []
+ (b,c,a) = ([],[],d)
+ [d,b,_] = ([],a,[])