Release coccinelle-0.2.3rc6
[bpt/coccinelle.git] / tests / bad_define.cocci
1 @@
2 expression E;
3 identifier y;
4 constant c;
5 identifier x,fld;
6 expression f;
7 @@
8
9 (
10 #define x (E)
11 |
12 #define x y
13 |
14 #define x c
15 |
16 #define x f(...)
17 |
18 #define x sizeof(...)
19 |
20 #define x E.fld
21 |
22 #define x E->fld
23 |
24 - #define x E
25 )