summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod17.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod17.hs')
-rw-r--r--testsuite/tests/module/mod17.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod17.hs b/testsuite/tests/module/mod17.hs
new file mode 100644
index 0000000000..c3f219edde
--- /dev/null
+++ b/testsuite/tests/module/mod17.hs
@@ -0,0 +1,5 @@
+-- !!! Testing non-member function in explicit class export list
+module M(C(m1,m2,m3,Left)) where
+class C a where
+ m1 :: a
+ m2, m3 :: a