Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / html_diagnostics / relevant_lines / goto.c
blobfc90f1334f0766e4779a7b8e04e436880fbfcac4
1 int goto_test(int input) {
2 int *p = 0;
3 if (input)
4 goto mylabel;
5 return 0;
6 mylabel:
7 return *p;
10 // RUN: rm -rf %t.output
11 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -analyzer-output html -o %t.output %s
12 // RUN: cat %t.output/* | FileCheck %s --match-full-lines
13 // CHECK: var relevant_lines = {"1": {"1": 1, "2": 1, "3": 1, "4": 1, "6": 1, "7": 1}};