llvm/clang/test/Analysis/solver-sym-simplification-bool.cpp

// RUN: %clang_analyze_cc1 -analyzer-checker=core \
// RUN: -analyzer-checker=debug.ExprInspection -verify %s

void clang_analyzer_dump(bool);

void foo(int &x) {
  int *p = &x; // 'p' is the same SVal as 'x'
  bool b = p;
  clang_analyzer_dump(b); // expected-warning {{1 U1b}}
}