summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-23 19:13:49 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-23 19:13:49 +0000
commit580fd746c68415304bb9434b61df777bc88ed3a4 (patch)
tree4cce1343a9b8739100a816312ff666cfbc718fa2 /testsuite/tests
parent566128cab97aa397bd07c0e9aeb0043966c67b02 (diff)
downloadhaskell-580fd746c68415304bb9434b61df777bc88ed3a4.tar.gz
Add a test for #7671
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/parser/unicode/T7671.hs8
-rw-r--r--testsuite/tests/parser/unicode/all.T1
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/parser/unicode/T7671.hs b/testsuite/tests/parser/unicode/T7671.hs
new file mode 100644
index 0000000000..4eb6a4b501
--- /dev/null
+++ b/testsuite/tests/parser/unicode/T7671.hs
@@ -0,0 +1,8 @@
+
+{-# LANGUAGE EmptyDataDecls #-}
+-- ^ a U+00A0 no-break space
+module Foo where
+
+v = 5 +  3
+-- ^ a U+00A0 no-break space
+
diff --git a/testsuite/tests/parser/unicode/all.T b/testsuite/tests/parser/unicode/all.T
index c8ca793f73..71db26ff53 100644
--- a/testsuite/tests/parser/unicode/all.T
+++ b/testsuite/tests/parser/unicode/all.T
@@ -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, [''])