opnsense-src/test/Coverage/html-diagnostics.c
2009-06-02 17:58:47 +00:00

15 lines
173 B
C

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