Coccinelle release 1.0.0-rc4
[bpt/coccinelle.git] / tests / used_after.cocci
1 @ rule1 @
2 identifier x;
3 //local function func;
4 identifier func;
5 @@
6
7 x.proc_info = &func;
8
9
10
11 @@
12 // type T;
13 identifier rule1.func;
14 @@
15
16 - int func(int i) {
17 + int func(int i, char j) {
18 ...
19 }
20