brintos

brintos / llvm-project-archived public Read only

0
0
Text · 399 B · cce5e5a Raw
13 lines · c
1int f(void) {2  int zzz = 200;3  zzz += 100;4  return 0;5}6 7// Show line with the warning even if it wasn't executed (e.g. warning given8// by path-insensitive analysis).9// RUN: rm -rf %t.output10// RUN: %clang_analyze_cc1 -analyzer-checker=core,deadcode -analyzer-output html -o %t.output %s11// RUN: cat %t.output/* | FileCheck %s --match-full-lines12// CHECK: var relevant_lines = {"1": {"3": 1}};13