4 lines
105 B
C
4 lines
105 B
C
static void f(void) {
|
|
int *p = 0;
|
|
*p = 1; // expected-warning{{Dereference of null pointer}}
|
|
}
|