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