hanchenye-llvm-project/clang/test/Coverage/html-diagnostics.c

16 lines
172 B
C

// RUN: rm -rf %t &&
// RUN: clang-cc --html-diags=%t -checker-cfref %s
void f0(int x) {
int *p = &x;
if (x > 10) {
if (x == 22)
p = 0;
}
*p = 10;
}