[project @ 1999-09-01 14:21:41 by sof]
authorsof <unknown>
Wed, 1 Sep 1999 14:21:41 +0000 (14:21 +0000)
committersof <unknown>
Wed, 1 Sep 1999 14:21:41 +0000 (14:21 +0000)
Test which verifies that special ids are correctly handled by the front-end

ghc/tests/reader/should_compile/read024.hs [new file with mode: 0644]

diff --git a/ghc/tests/reader/should_compile/read024.hs b/ghc/tests/reader/should_compile/read024.hs
new file mode 100644 (file)
index 0000000..10e31cd
--- /dev/null
@@ -0,0 +1,30 @@
+-- !!! checking that special ids are correctly handled.
+module ShouldCompile where
+
+as :: [as]
+as = [head as]
+
+qualified :: [qualified]
+qualified = [head qualified]
+
+hiding :: [hiding]
+hiding = [head hiding]
+
+export :: [export]
+export = [head export]
+
+label :: [label]
+label = [head label]
+
+dynamic :: [dynamic]
+dynamic = [head dynamic]
+
+unsafe :: [unsafe]
+unsafe = [head unsafe]
+
+stdcall :: [stdcall]
+stdcall = [head stdcall]
+
+ccall :: [ccall]
+ccall = [head ccall]
+