summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read016.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read016.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read016.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read016.hs b/testsuite/tests/parser/should_compile/read016.hs
new file mode 100644
index 0000000000..5c482f510d
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read016.hs
@@ -0,0 +1,10 @@
+-- !!! Checking that both import lists and 'hiding' lists might
+-- !!! be empty.
+module ShouldCompile where
+
+import Data.List ()
+import Data.List hiding ()
+
+x :: Int
+x = 1
+