Coccinelle release 1.0.0c7.
[bpt/coccinelle.git] / tests / extra.res
1 #ifdef FIRST
2 int _called_function_0 (int a, struct foo *b, struct bar *c) {
3 a = b->x;
4 return c->d;
5 }
6
7 int main(int a, struct foo *b, struct bar *c) {
8 assert(c != NULL);
9 assert(b != NULL);
10 return _called_function_0(a, b, c);
11 }
12 #else
13 int _called_function_1 (int a, struct foo *xyz) {
14 a = xyz->x;
15 return xyz->d;
16 }
17
18 int main(int a, struct foo *xyz) {
19 assert(xyz != NULL);
20 return _called_function_1(a, xyz);
21 }
22 #endif
23