projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-12-29 12:12:59 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
rename
/
should_compile
/
rn037.hs
diff --git a/ghc/tests/rename/should_compile/rn037.hs
b/ghc/tests/rename/should_compile/rn037.hs
new file mode 100644
(file)
index 0000000..
668d707
--- /dev/null
+++ b/
ghc/tests/rename/should_compile/rn037.hs
@@ -0,0
+1,12
@@
+-- !!! Checking that you can hide a constructor
+module ShouldSucceed where
+
+import Rn037Help hiding( C )
+ -- C is the constructor, but we should
+ -- still be able to hide it
+
+f x = Rn037Help.C
+
+
+
+