From 0e8e60a4121261b5db6d04a3d9fcad7e995d6e30 Mon Sep 17 00:00:00 2001 From: simonpj Date: Fri, 1 Dec 2000 12:38:10 +0000 Subject: [PATCH] [project @ 2000-12-01 12:38:10 by simonpj] Add test for special Ids --- ghc/tests/reader/should_compile/read029.hs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ghc/tests/reader/should_compile/read029.hs 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 -- 1.7.10.4