summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_run/T1344.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_run/T1344.hs')
-rw-r--r--testsuite/tests/parser/should_run/T1344.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_run/T1344.hs b/testsuite/tests/parser/should_run/T1344.hs
new file mode 100644
index 0000000000..cba7f3fdf6
--- /dev/null
+++ b/testsuite/tests/parser/should_run/T1344.hs
@@ -0,0 +1,10 @@
+-- Just new test. This would work without the bug being fixed.
+
+a = '\x10ffff'
+b = "Hello\x000000002c\32World\o00000000000000000000000000000000041"
+c = "♯\00\&00\0"
+
+main = do print a
+ putStrLn b
+ print c
+