summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail048.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/readFail048.hs')
-rw-r--r--testsuite/tests/parser/should_fail/readFail048.hs25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail048.hs b/testsuite/tests/parser/should_fail/readFail048.hs
new file mode 100644
index 0000000000..2985e5e66f
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/readFail048.hs
@@ -0,0 +1,25 @@
+-- Test for trac #314
+
+{-|
+/*
+ This
+ uses
+ up
+ some
+ lines
+ The
+ following
+ pragmas
+ should
+ not
+ be
+ parsed
+ */
+# 23
+#pragma
+
+-}
+
+module ShouldFail where
+
+type_error = "Type error on line 25":"Type error on line 25"