2013-07-05 00:16:58 +08:00
|
|
|
|
// RUN: not %clang_cc1 %s -fmessage-length 40 2>&1 | FileCheck -strict-whitespace %s
|
2012-04-18 10:44:46 +08:00
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
int i;
|
2012-10-27 03:15:56 +08:00
|
|
|
|
if((i==/**/1));
|
2012-04-18 10:44:46 +08:00
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
// CHECK: {{^ if\(\(i==/\*<U\+FFFE>\*/1\)\);}}
|
2012-04-18 10:44:46 +08:00
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
// CHECK: {{^ ~\^~~~~~~~~~~~~~~}}
|
|
|
|
|
// CHECK: {{^ ~ \^ ~}}
|
2012-04-18 10:44:46 +08:00
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
(void)"<EFBFBD><EFBFBD>";
|
2012-09-14 02:37:50 +08:00
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
// CHECK: {{^ \(void\)"<CA><U\+FFFE><F4>";}}
|
2012-09-14 02:37:50 +08:00
|
|
|
|
// CHECK: {{^ \^~~~}}
|
|
|
|
|
|
|
|
|
|
int n = 0;
|
|
|
|
|
|
2012-09-14 03:10:51 +08:00
|
|
|
|
// CHECK: {{ int n = 0;}}
|
2012-09-14 02:37:50 +08:00
|
|
|
|
// CHECK: {{^\^}}
|
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
" \z";
|
2012-09-14 02:37:50 +08:00
|
|
|
|
|
|
|
|
|
// CHECK: {{^ \.\.\.\\z";}}
|
|
|
|
|
// CHECK: {{^ \^~}}
|
|
|
|
|
|
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
/* */ "berhund";
|
2012-04-18 10:44:46 +08:00
|
|
|
|
|
2012-10-27 03:15:56 +08:00
|
|
|
|
// CHECK: {{^ /\* <U\+FFFE> \*/ "<U\+FFFE>berhund";}}
|
|
|
|
|
// CHECK: {{^ \^~~~~~~~~~~~~~~~~}}
|
2012-09-14 02:37:50 +08:00
|
|
|
|
|
2012-11-09 03:22:31 +08:00
|
|
|
|
|
|
|
|
|
// PR14292
|
|
|
|
|
"x<EFBFBD>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
|
// CHECK: {{^ "x<B0>}}
|
|
|
|
|
// CHECK: {{^ \^}}
|
|
|
|
|
|
2012-09-14 02:37:50 +08:00
|
|
|
|
}
|