[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
@@ -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
+
+
+
+