Commit | Line | Data |
---|---|---|
7be570e7 JM |
1 | #include <stdio.h> |
2 | ||
3 | int common1; | |
4 | int common2; | |
5 | int common3; | |
6 | static int common4; | |
7 | ||
8 | int data1 = 1; | |
9 | int data2 = 2; | |
10 | int data3 = 3; | |
11 | static int data4 = 4; | |
12 | ||
13 | int foo() | |
14 | { | |
15 | common1 = 1; | |
16 | common2 = 2; | |
17 | common3 = 3; | |
18 | common4 = 4; | |
19 | ||
20 | return data1 + data2 + data3 + data4 + common1 + common2 + common3 + common4; | |
21 | } |