HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.2.0
[bpt/coccinelle.git]
/
tests
/
endif.res
1
void 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
}