summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod123.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod123.hs')
-rw-r--r--testsuite/tests/module/mod123.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod123.hs b/testsuite/tests/module/mod123.hs
new file mode 100644
index 0000000000..cdf7402115
--- /dev/null
+++ b/testsuite/tests/module/mod123.hs
@@ -0,0 +1,6 @@
+-- !!! exporting a field name (but not its type)
+module M where
+import Mod123_A
+
+f :: T -> Int
+f x = f1 x