Coccinelle release 0.2.5-rc8
[bpt/coccinelle.git] / tests / max.cocci
1 @x@
2 position pc,pm,pi;
3 expression E;
4 @@
5
6 if@pc (E@pm) return i@pi;
7
8 @@
9 position x.pc,x.pm,x.pi;
10 expression E;
11 @@
12
13 if@pc (E@pm)
14 - return i@pi;
15 + return 3;