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