summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail038.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail038.hs')
-rw-r--r--testsuite/tests/rename/should_fail/rnfail038.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail038.hs b/testsuite/tests/rename/should_fail/rnfail038.hs
new file mode 100644
index 0000000000..b96000a873
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/rnfail038.hs
@@ -0,0 +1,4 @@
+-- !!! It is now illegal to import a module hiding
+-- !!! an entity that it doesn't export
+module ShouldCompile where
+import Data.List hiding ( wibble )