*p=0xDEADBEEF;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
*p=0xDEADBEEF;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
*p=1;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
returnq;// expected-note {{Returning null pointer (loaded from 'q')}}
}();
*p=1;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
^(){// expected-note{{Calling anonymous block}} expected-note{{Returning to caller}}
p=0;// expected-note{{Null pointer value stored to 'p'}}
}();
*p=1;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}
^(int**q){// expected-note{{Calling anonymous block}} expected-note{{Returning to caller}}
*q=0;// expected-note{{Null pointer value stored to 'p'}}
}(&p);
*p=1;// expected-warning{{Dereference of null pointer (loaded from variable 'p')}} expected-note{{Dereference of null pointer (loaded from variable 'p')}}