Add my copyright for changes in arm-gen.c
[tinycc.git] / tests2 / 51_static.c
blobd6c0917cfe3c54495fdbda1e52a069870893548d
1 #include <stdio.h>
3 static int fred = 1234;
4 static int joe;
6 void henry()
8 static int fred = 4567;
10 printf("%d\n", fred);
11 fred++;
14 int main()
16 printf("%d\n", fred);
17 henry();
18 henry();
19 henry();
20 henry();
21 printf("%d\n", fred);
22 fred = 8901;
23 joe = 2345;
24 printf("%d\n", fred);
25 printf("%d\n", joe);
27 return 0;
30 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/