summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/module/mod145.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/module/mod145.hs')
-rw-r--r--testsuite/tests/ghc-regress/module/mod145.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-regress/module/mod145.hs b/testsuite/tests/ghc-regress/module/mod145.hs
new file mode 100644
index 0000000000..63c5b72a73
--- /dev/null
+++ b/testsuite/tests/ghc-regress/module/mod145.hs
@@ -0,0 +1,9 @@
+-- !!! Conflicting re-exportation of class methods
+module Mod145(module Mod145, module Mod145_A) where
+
+import Mod145_A
+
+class C1 a where
+ m1 :: a -> Int
+
+