// RUN: %clang_analyze_cc1 -x c -analyzer-checker=core -analyzer-output=text -verify %s
int
char
char
int ;
int
int
// Warning should not be suppressed if it happens in the same macro.
// expected-warning{{Dereference of null pointer}}
// expected-note@-1{{'p' initialized to a null}}
// expected-note@-2{{Dereference of null pointer}}
// Warning should not be suppressed if the null returned by the macro
// is not related to the warning.
extern int* ;
int
// Value haven't changed by the assignment, but the null pointer
// did not come from the macro.
int