1 | #ifndef HEADER1_H |
---|---|
2 | #define HEADER1_H |
3 | |
4 | inline void func(int i) { |
5 | int x = 0; |
6 | if (i == 0) { |
7 | x = 1; |
8 | } else { |
9 | x = 2; |
10 | } |
11 | } |
12 | static 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 | } |
21 | static 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_H |
32 |