summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/parser/should_fail/T5425.hs6
-rw-r--r--testsuite/tests/parser/should_fail/T5425.stderr3
-rw-r--r--testsuite/tests/parser/should_fail/all.T1
3 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T5425.hs b/testsuite/tests/parser/should_fail/T5425.hs
new file mode 100644
index 0000000000..a368edd7bb
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/T5425.hs
@@ -0,0 +1,6 @@
+
+-- load into ghci
+
+"λa: (Type[0] → (Type[0] → Type[0])).\
+ λb: (Type[0] → Type[0]). λc: Type[0].\
+ ((a c)(b c))"
diff --git a/testsuite/tests/parser/should_fail/T5425.stderr b/testsuite/tests/parser/should_fail/T5425.stderr
new file mode 100644
index 0000000000..52d29d9d5b
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/T5425.stderr
@@ -0,0 +1,3 @@
+
+T5425.hs:5:2:
+ lexical error in string/character literal at character '\955'
diff --git a/testsuite/tests/parser/should_fail/all.T b/testsuite/tests/parser/should_fail/all.T
index 65fba07ce5..0e94f1a6f8 100644
--- a/testsuite/tests/parser/should_fail/all.T
+++ b/testsuite/tests/parser/should_fail/all.T
@@ -73,3 +73,4 @@ test('readFailTraditionalRecords1', normal, compile_fail, [''])
test('readFailTraditionalRecords2', normal, compile_fail, [''])
test('readFailTraditionalRecords3', normal, compile_fail, [''])
+test('T5425', normal, compile_fail, [''])