summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/prog003/B.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/prog003/B.hs')
-rw-r--r--testsuite/tests/rename/prog003/B.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/rename/prog003/B.hs b/testsuite/tests/rename/prog003/B.hs
new file mode 100644
index 0000000000..77be6cbc0e
--- /dev/null
+++ b/testsuite/tests/rename/prog003/B.hs
@@ -0,0 +1,5 @@
+-- !!! Exporting a class method should not export the class too
+module B where
+import A
+f :: Class a => a -> a
+f = method