Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / html_diagnostics / relevant_lines / macros_same_file.c
blob5b3556526add28cc55dd4c89951e18b21d33f93f
1 #define deref(X) (*X)
3 int f(int coin) {
4 if (coin) {
5 int *x = 0;
6 return deref(x);
7 } else {
8 return 0;
12 // RUN: rm -rf %t.output
13 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s
14 // RUN: cat %t.output/* | FileCheck %s --match-full-lines
15 // CHECK: var relevant_lines = {"1": {"3": 1, "4": 1, "5": 1, "6": 1}};