Release of coccinelle 1.0.0-rc9
[bpt/coccinelle.git] / tests / protox.cocci
CommitLineData
34e49164
C
1// before handling "depends on", when julia was generating
2// from this rule the rule to modify the corresponding prototype,
3// this rule was applied whatever happend an in particular
4// this SP will not match the .c because return x <> return 12
5// but its prototype will still be modified :(
6
7// with "depends on" the prototype is changed only if the
8// function is matched and transformed.
9
10
11@@
12@@
13
14- f(int x)
15+ f(int x, int y)
16 { return x; }
17