blob: 5b3556526add28cc55dd4c89951e18b21d33f93f [file] [log] [blame]
#define deref(X) (*X)
int f(int coin) {
if (coin) {
int *x = 0;
return deref(x);
} else {
return 0;
}
}
// RUN: rm -rf %t.output
// RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s
// RUN: cat %t.output/* | FileCheck %s --match-full-lines
// CHECK: var relevant_lines = {"1": {"3": 1, "4": 1, "5": 1, "6": 1}};