summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read001.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read001.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read001.hs b/testsuite/tests/parser/should_compile/read001.hs
new file mode 100644
index 0000000000..d0a84ff7e5
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read001.hs
@@ -0,0 +1,8 @@
+-- !!! import qualified Prelude should leave (), [] etc in scope
+
+module ShouldCompile where
+
+import qualified Prelude
+
+f :: Prelude.IO ()
+f = Prelude.return ()