[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / solver-sym-simplification-bool.cpp
blob0e7633dfb87e0f2004c009b64fc158be3bb63053
1 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core \
2 // RUN: -analyzer-checker=debug.ExprInspection -verify %s
4 void clang_analyzer_dump(bool);
6 void foo(int &x) {
7 int *p = &x; // 'p' is the same SVal as 'x'
8 bool b = p;
9 clang_analyzer_dump(b); // expected-warning {{1 U1b}}