brintos

brintos / llvm-project-archived public Read only

0
0
Text · 385 B · d01e813 Raw
32 lines · c
1#ifndef HEADER1_H2#define HEADER1_H3 4inline void func(int i) {5  int x = 0;6  if (i == 0) {7    x = 1;8  } else {9    x = 2;10  }11}12static void static_func(int j) {13  int x = 0;14  if (j == x) {15    x = !j;16  } else {17    x = 42;18  }19  j = x * j;20}21static void static_func2(int j) {22  int x = 0;23  if (j == x) {24    x = !j;25  } else {26    x = 42;27  }28  j = x * j;29}30 31#endif // HEADER1_H32