14 lines · c
1int f(int coin) {2 if (coin) {3 int *x = 0;4 return *x;5 } else {6 return 0;7 }8}9 10// RUN: rm -rf %t.output11// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output html -o %t.output %s12// RUN: cat %t.output/* | FileCheck %s --match-full-lines13// CHECK: var relevant_lines = {"1": {"1": 1, "2": 1, "3": 1, "4": 1}};14