From: simonpj Date: Fri, 1 Dec 2000 12:38:10 +0000 (+0000) Subject: [project @ 2000-12-01 12:38:10 by simonpj] X-Git-Tag: Approximately_9120_patches~3216 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0e8e60a4121261b5db6d04a3d9fcad7e995d6e30;p=ghc-hetmet.git [project @ 2000-12-01 12:38:10 by simonpj] Add test for special Ids --- diff --git a/ghc/tests/reader/should_compile/read029.hs b/ghc/tests/reader/should_compile/read029.hs new file mode 100644 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