HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
coccinelle release 1.0.0-rc2
[bpt/coccinelle.git]
/
tests
/
bad_typedef.c
1
typedef
struct
{
2
struct
semaphore lock
;
3
}
scsi_changer
;
4
5
6
int
main1
(
scsi_changer
*
x
) {
7
foo
(
x
->
lock
);
8
}
9
10
struct
scsi_changer_two
{
11
struct
semaphore lock
;
12
};
13
14
15
int
main2
(
struct
scsi_changer_two
*
x
) {
16
foo
(
x
->
lock
);
17
}