Be lax about trailing whitespace when checking fixit formatting, this depends on locale settings.

If a non-unicode locale is used, the unicode character is escaped and any
byte that is in the escaped representation but not the semicolon will
become whitespace.

llvm-svn: 160113
This commit is contained in:
Benjamin Kramer 2012-07-12 08:34:31 +00:00
parent 29f90e804d
commit 20863e3692
1 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,6 @@ void test1() {
(&foo)>bar = 42;
// CHECK: error: expected ';' after expression
// Make sure we emit the fixit right in front of the snowman.
// CHECK: {{^ \^$}}
// CHECK: {{^ ;$}}
// CHECK: {{^ \^}}
// CHECK: {{^ ;}}
}