• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: not %clang_cc1 %s -fmessage-length=40 2>&1 | FileCheck -strict-whitespace %s
2 
main()3 int main() {
4     int i;
5     if((i==/*￾*/1));
6 
7 // CHECK: {{^    if\(\(i==/\*<U\+FFFE>\*/1\)\);}}
8 
9 // CHECK: {{^        ~\^~~~~~~~~~~~~~~}}
10 // CHECK: {{^       ~ \^              ~}}
11 
12     (void)"�￾�";
13 
14 // CHECK: {{^    \(void\)"<CA><U\+FFFE><F4>";}}
15 // CHECK: {{^           \^~~~}}
16 
17   int n = 0;
18 
19 // CHECK: {{ int n = 0;}}
20 // CHECK: {{^\^}}
21 
22    "￾                                                               \z";
23 
24 // CHECK: {{^  \.\.\.\\z";}}
25 // CHECK: {{^     \^~}}
26 
27 
28     /* ￾ */ "￾berhund";
29 
30 // CHECK: {{^    /\* <U\+FFFE> \*/ "<U\+FFFE>berhund";}}
31 // CHECK: {{^                   \^~~~~~~~~~~~~~~~~}}
32 
33 
34 // PR14292
35     "x�xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
36 // CHECK: {{^    "x<B0>}}
37 // CHECK: {{^    \^}}
38 
39 }
40