projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6456598
)
[project @ 2000-12-01 12:38:10 by simonpj]
author
simonpj
<unknown>
Fri, 1 Dec 2000 12:38:10 +0000
(12:38 +0000)
committer
simonpj
<unknown>
Fri, 1 Dec 2000 12:38:10 +0000
(12:38 +0000)
Add test for special Ids
ghc/tests/reader/should_compile/read029.hs
[new file with mode: 0644]
patch
|
blob
diff --git a/ghc/tests/reader/should_compile/read029.hs
b/ghc/tests/reader/should_compile/read029.hs
new file mode 100644
(file)
index 0000000..
1a9e5c1
--- /dev/null
+++ b/
ghc/tests/reader/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