summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod164.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod164.hs')
-rw-r--r--testsuite/tests/module/mod164.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod164.hs b/testsuite/tests/module/mod164.hs
new file mode 100644
index 0000000000..f472bfdddc
--- /dev/null
+++ b/testsuite/tests/module/mod164.hs
@@ -0,0 +1,10 @@
+-- !!! lazy name conflict reporting for data constructors
+module M where
+
+import Mod164_A
+import Mod164_B
+
+f x =
+ case x of
+ D1 -> 'a'
+