bolt/deps/llvm-18.1.8/clang/test/Analysis/html-diag-singlefile.h

5 lines
105 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
static void f(void) {
int *p = 0;
*p = 1; // expected-warning{{Dereference of null pointer}}
}