Add a test for #7671
authorIan Lynagh <ian@well-typed.com>
Sat, 23 Feb 2013 19:13:49 +0000 (19:13 +0000)
committerIan Lynagh <ian@well-typed.com>
Sat, 23 Feb 2013 19:13:49 +0000 (19:13 +0000)
testsuite/tests/parser/unicode/T7671.hs [new file with mode: 0644]
testsuite/tests/parser/unicode/all.T

diff --git a/testsuite/tests/parser/unicode/T7671.hs b/testsuite/tests/parser/unicode/T7671.hs
new file mode 100644 (file)
index 0000000..4eb6a4b
--- /dev/null
@@ -0,0 +1,8 @@
+
+{-#¬†LANGUAGE EmptyDataDecls #-}
+-- ^ a U+00A0 no-break space
+module Foo where
+
+v = 5 +¬† 3
+--     ^ a U+00A0 no-break space
+
index c8ca793..71db26f 100644 (file)
@@ -20,3 +20,4 @@ test('T1744', normal, compile_and_run, [''])
 test('T1103', normal, compile, [''])
 test('T2302', only_ways(['normal']), compile_fail, [''])
 test('T4373', normal, compile, [''])
+test('T7671', expect_broken(7671), compile, [''])