summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod102.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod102.hs')
-rw-r--r--testsuite/tests/module/mod102.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod102.hs b/testsuite/tests/module/mod102.hs
new file mode 100644
index 0000000000..945276937c
--- /dev/null
+++ b/testsuite/tests/module/mod102.hs
@@ -0,0 +1,8 @@
+-- !!! Fixed bug: Re-exporting a subset of a class' methods
+module Mod102 where
+
+import Mod102_AuxB
+
+-- methB is not imported by Mod102_AuxB, hence not exported either.
+x :: Bool -> ()
+x = methB False