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