summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/prog002/rnfail037.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/prog002/rnfail037.hs')
-rw-r--r--testsuite/tests/rename/prog002/rnfail037.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rename/prog002/rnfail037.hs b/testsuite/tests/rename/prog002/rnfail037.hs
new file mode 100644
index 0000000000..0a2935c5ad
--- /dev/null
+++ b/testsuite/tests/rename/prog002/rnfail037.hs
@@ -0,0 +1,8 @@
+-- !!! Checking that you can hide a constructor
+module ShouldCompile where
+
+import Rn037Help hiding( C )
+ -- C is the constructor, but we should
+ -- still be able to hide it
+
+f x = Rn037Help.C