xref: /llvm-project/clang/test/Coverage/html-diagnostics.c (revision 23bd6cc156dd6091bb43063f6853a23b56511418)
1 // RUN: rm -rf %t &&
2 // RUN: clang --html-diags=%t -checker-simple %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