summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod101.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod101.hs')
-rw-r--r--testsuite/tests/module/mod101.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod101.hs b/testsuite/tests/module/mod101.hs
new file mode 100644
index 0000000000..ffc393cbff
--- /dev/null
+++ b/testsuite/tests/module/mod101.hs
@@ -0,0 +1,8 @@
+-- !!! Re-exporting a subset of a alg. data type's constructors
+module Mod101 where
+
+import Mod101_AuxB
+
+-- ConB is not imported by Mod101_AuxB, hence not exported either.
+x :: DataA
+x = ConB False