1 extern int could_fail_1 (void);
2 extern void *could_fail_2 (int);
3 extern void cleanup (void *);
11 void *data
= ((void *)0);
21 data
= could_fail_2 (fd
);
22 hdr
= (struct header
*) data
;
24 if (hdr
->signature
!= 42) {
31 if (data
) /* { dg-bogus "check of 'data' for NULL after already dereferencing it" } */