Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / html_diagnostics / relevant_lines / simple_conditional.c
blob769859dea5efc400881040dc1c29c7a2996ee866
1 int f(int coin) {
2 if (coin) {
3 int *x = 0;
4 return *x;
5 } else {
6 return 0;
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}};