brintos

brintos / llvm-project-archived public Read only

0
0
Text · 115 B · c0674f9 Raw
4 lines · c
1void foo(int *ptr) {2  *ptr = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'ptr')}}3}4