reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 | void foo(int *ptr) { *ptr = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'ptr')}} } |