summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn056.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn056.hs')
-rw-r--r--testsuite/tests/rename/should_compile/rn056.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn056.hs b/testsuite/tests/rename/should_compile/rn056.hs
new file mode 100644
index 0000000000..5e775dd112
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/rn056.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS_GHC -fwarn-implicit-prelude -fwarn-unused-imports #-}
+module ShouldCompile where
+
+import Prelude ()
+
+-- !!! should produce no warnings
+-- (the other use of importing nothing is
+-- to nullify the implicit import of the Prelude)
+