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