summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail034.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail034.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail034.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail034.hs b/testsuite/tests/rename/should_fail/rnfail034.hs
new file mode 100644
index 0000000000..25d9189472
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail034.hs
@@ -0,0 +1,4 @@
+-- !!! qualified names aren't allowed in local binds either
+-- (Haskell 98 (revised) section 5.5.1)
+module M where
+g x = let M.y = x + 1 in M.y