coccinelle release 0.2.5
[bpt/coccinelle.git] / tests / endif.res
CommitLineData
34e49164
C
1void f(int i) {
2
3 x = 1;
4 if(1) x = 3;
5 foo();
6
7 x = 1;
8 while(1) x = 3;
9 foo();
10
11 x = 1;
12 do x = 3; while(1);
13 foo();
14
15 x = 1;
16 for(1;1;1) x = 3;
17 foo();
18
19 x = 1;
20 for(1;1;1) { x = 3; }
21 foo();
22
23 // switch(1) {
24 // case 0: x = 3;
25 // default: x = 3;
26 // }
27
28}