1 // This test is an additional set of checks for the fixit-unicode.c test for 2 // systems capable of outputting Unicode characters to the standard output in 3 // the UTF-8 encoding. 4 // RUN: not %clang_cc1 -fsyntax-only %S/fixit-unicode.c 2>&1 | FileCheck -strict-whitespace %s 5 6 // CHECK: warning: format specifies type 'int' but the argument has type 'long' 7 // CHECK: {{^ printf\("∆: %d", 1L\);}} 8 // CHECK: {{^ ~~ \^~}} 9 10 // CHECK: error: use of undeclared identifier 'กsss'; did you mean 'กssss'? 11 // CHECK: {{^ \^}} 12 // CHECK: {{^ กssss}} 13 14 // CHECK: error: use of undeclared identifier 'ssกs'; did you mean 'ssกss'? 15 // CHECK: {{^ \^}} 16 // CHECK: {{^ ssกss}} 17 18 // CHECK: error: use of undeclared identifier 'ss一二三'; did you mean 's一二三'? 19 // CHECK: {{^ \^~~~~~~~}} 20 // CHECK: {{^ s一二三}} 21 22 // CHECK: error: use of undeclared identifier 'sssssssss'; did you mean 'sssssssssก'? 23 // CHECK: {{^ \^}} 24 // CHECK: {{^ sssssssssก}} 25