[clang][NFC] simplify the unset check in `ParseLabeledStatement` (#117430)
[llvm-project.git] / clang / test / Analysis / taint-dumps.c
blob01bf0d7deff3ad76271f6a75a73baf1f30218f68
1 // RUN: %clang_analyze_cc1 -analyzer-checker=optin.taint\
2 // RUN: -analyzer-checker=debug.ExprInspection %s\
3 // RUN: 2>&1 | FileCheck %s
5 void clang_analyzer_printState(void);
6 int getchar(void);
8 // CHECK: Tainted symbols:
9 // CHECK-NEXT: conj_$2{{.*}} : 0
10 int test_taint_dumps(void) {
11 int x = getchar();
12 clang_analyzer_printState();
13 return x;