summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read029.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read029.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read029.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read029.hs b/testsuite/tests/parser/should_compile/read029.hs
new file mode 100644
index 0000000000..1a9e5c1c9e
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read029.hs
@@ -0,0 +1,14 @@
+-- !!! Special Ids and ops
+
+-- The special ids 'as', 'qualified' and 'hiding' should be
+-- OK in both qualified and unqualified form.
+-- Ditto special ops
+
+module ShouldCompile where
+import Prelude hiding ( (-) )
+
+as = ShouldCompile.as
+hiding = ShouldCompile.hiding
+qualified = ShouldCompile.qualified
+x!y = x ShouldCompile.! y
+x-y = x ShouldCompile.- y