HCoop
/
bpt
/
coccinelle.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Coccinelle release 1.0.0-rc1
[bpt/coccinelle.git]
/
tests
/
bad_typedef.cocci
Commit
Line
Data
34e49164
C
1
@ rule1 @
2
type T;
3
identifier lock;
4
@@
5
6
T { ...
7
struct semaphore lock;
8
...
9
};
10
11
@@
12
type rule1.T;
faf9a90c
13
identifier rule1.lock;
34e49164
C
14
T *x;
15
@@
16
17
- x->lock
18
+ x->new_lock