summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T19843b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T19843b.hs')
-rw-r--r--testsuite/tests/rename/should_fail/T19843b.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T19843b.hs b/testsuite/tests/rename/should_fail/T19843b.hs
new file mode 100644
index 0000000000..4bd6ef2d1b
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T19843b.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE ViewPatterns #-}
+
+module T19843b where
+
+import Prelude (map, even, undefined, Bool)
+
+foo (Map even -> xs) = undefined