- implemented GNU ?: operator (no ast2firm support yet
[cparser] / parsetest / statics.c
1 int printf(const char *str, ...);
2
3 void f(void)
4 {
5         static int k = 42;
6         {
7                 static int k = 13;
8                 ++k;
9                 printf("%d ", k);
10         }
11         --k;
12         printf("%d\n", k);
13 }
14
15 int main(void)
16 {
17         f();
18         f();
19         f();
20         f();
21         return 0;
22 }