Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / tests / initializer_iso.cocci
CommitLineData
34e49164
C
1@ rule1 @
2typedef SHT_t;
3{struct SHT, SHT_t} fops;
4//struct SHT fops; // this one works
5identifier proc_info_func;
6@@
7
8 fops.proc_info = proc_info_func;
9
10
11
12@ rule2 extends rule1 @
13@@
14
15- proc_info_func
16+ foobar
17
18
19// necessary :( because previous rule is a Exp and funheader
20// is not an expression.
21@ rule3 extends rule1 @
22@@
23- proc_info_func
24+ foobar
25 (...)
26{
27 ...
28}