Release coccinelle-0.1
[bpt/coccinelle.git] / tests / bad_typedef.cocci
CommitLineData
34e49164
C
1@ rule1 @
2type T;
3identifier lock;
4@@
5
6T { ...
7 struct semaphore lock;
8 ...
9 };
10
11@@
12type rule1.T;
13T *x;
14@@
15
16- x->lock
17+ x->new_lock