Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / unprintable.c
blob02402cdfa669364eb51fefede7d4455876ea70f6
1 // RUN: not %clang_cc1 %s -fmessage-length=40 -fno-diagnostics-show-line-numbers 2>&1 | FileCheck -strict-whitespace %s
3 int main() {
4 int i;
5 if((i==/*￾*/1));
7 // CHECK: {{^ if\(\(i==/\*<U\+FFFE>\*/1\)\);}}
9 // CHECK: {{^ ~\^~~~~~~~~~~~~~~}}
10 // CHECK: {{^ ~ \^ ~}}
12 (void)"Ê￾ô";
14 // CHECK: {{^ \(void\)"<CA><U\+FFFE><F4>";}}
15 // CHECK: {{^ \^~~~}}
17   int n = 0;
19 // CHECK: {{ int n = 0;}}
20 // CHECK: {{^\^}}
22 "￾ \z";
24 // CHECK: {{^ \.\.\.\\z";}}
25 // CHECK: {{^ \^~}}
28 /* ￾ */ "￾berhund";
30 // CHECK: {{^ /\* <U\+FFFE> \*/ "<U\+FFFE>berhund";}}
31 // CHECK: {{^ \^~~~~~~~~~~~~~~~~}}
34 // PR14292
35 "x°xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
36 // CHECK: {{^ "x<B0>}}
37 // CHECK: {{^ \^}}