Coccinelle release-1.0.0-rc11
[bpt/coccinelle.git] / tests / bad_typedef.c
CommitLineData
34e49164
C
1typedef struct {
2 struct semaphore lock;
3} scsi_changer;
4
5
6int main1 (scsi_changer *x) {
7 foo(x->lock);
8}
9
10struct scsi_changer_two {
11 struct semaphore lock;
12};
13
14
15int main2 (struct scsi_changer_two *x) {
16 foo(x->lock);
17}