Files
llvm-project/clang/test/Coverage/html-diagnostics.c
Daniel Dunbar 23bd6cc156 Add test/Driver.
- env-include-paths.c is XFAIL as it exposed a bug.

Add test/Coverage.
 - For tests which achieve code coverage but don't validate anything.

llvm-svn: 57070
2008-10-04 20:46:41 +00:00

16 lines
170 B
C

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