summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod87.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod87.hs')
-rw-r--r--testsuite/tests/module/mod87.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod87.hs b/testsuite/tests/module/mod87.hs
new file mode 100644
index 0000000000..161ab3c031
--- /dev/null
+++ b/testsuite/tests/module/mod87.hs
@@ -0,0 +1,4 @@
+-- !!! Trying to use constructors of abstractly imported type.
+module M where
+import Prelude(Either)
+x = Left 'a'