Coccinelle release-1.0.0-rc11
[bpt/coccinelle.git] / tests / metaline.cocci
CommitLineData
17ba0788
C
1@r@
2expression E;
3statement S;
4@@
5
6f(3 +@E@S 4);
7
8@@
9expression r.E;
10@@
11
12- g(E)
13+ h(E)
14
15@@
16expression x;
17statement r.S;
18@@
19
20- if
21+ while
22 (x) S
23
24@s@
25expression E;
26position p;
27@@
28
29-m(3 +@E@p 3);
30
31@@
32expression s.E;
33@@
34
35- g(E)
36+ q(E)
37
38@a@
39declaration d;
40@@
41
42-int x@d;
43
44@@
45declaration a.d;
46@@
47
48int y;
49+d