]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | static signed int i = 0; | |
3 | extern int foo1(void); | |
4 | extern void foo2(void); | |
5 | extern void foo4(void); | |
6 | ||
7 | void foo2(void) { | |
8 | ||
9 | i = -1; | |
10 | ||
11 | } | |
12 | ||
13 | static int foo3() { | |
14 | foo4(); | |
15 | return 10; | |
16 | } | |
17 | ||
18 | int foo1(void) | |
19 | { | |
20 | int data = 0; | |
21 | if (i < 0) | |
22 | data = foo3(); | |
23 | data += 42; | |
24 | return data; | |
25 | } |