1 2 3 4 5 6 7 8 9 10
struct foo { int *v; }; int test (void) { struct foo f = {}; return *f.v; /* { dg-warning "dereference of NULL" } */ }