xref: /llvm-project/clang/test/Coverage/html-diagnostics.c (revision 1642bdaaa5115e62681bcb718e1285cdcbe414cb)
1 // RUN: rm -rf %t &&
2 // RUN: clang-cc --html-diags=%t -checker-cfref %s
3 
4 void f0(int x) {
5   int *p = &x;
6 
7   if (x > 10) {
8     if (x == 22)
9       p = 0;
10   }
11 
12   *p = 10;
13 }
14 
15 
16