Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CoverageMapping / Inputs / header1.h
blobd01e813b40b395b4051c7946318625e192f70118
1 #ifndef HEADER1_H
2 #define HEADER1_H
4 inline void func(int i) {
5 int x = 0;
6 if (i == 0) {
7 x = 1;
8 } else {
9 x = 2;
12 static void static_func(int j) {
13 int x = 0;
14 if (j == x) {
15 x = !j;
16 } else {
17 x = 42;
19 j = x * j;
21 static void static_func2(int j) {
22 int x = 0;
23 if (j == x) {
24 x = !j;
25 } else {
26 x = 42;
28 j = x * j;
31 #endif // HEADER1_H