summaryrefslogtreecommitdiffstats
path: root/test/Coverage/html-diagnostics.c
blob: e3db1668d83631447fe09e799aa655bdbffe5867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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;
}


OpenPOWER on IntegriCloud