summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read024.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_compile/read024.hs')
-rw-r--r--testsuite/tests/parser/should_compile/read024.hs33
1 files changed, 33 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/read024.hs b/testsuite/tests/parser/should_compile/read024.hs
new file mode 100644
index 0000000000..f00ddb002c
--- /dev/null
+++ b/testsuite/tests/parser/should_compile/read024.hs
@@ -0,0 +1,33 @@
+-- !!! 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]
+
+interruptible :: [interruptible]
+interruptible = [head interruptible]
+
+stdcall :: [stdcall]
+stdcall = [head stdcall]
+
+ccall :: [ccall]
+ccall = [head ccall]
+