1 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core \
2 // RUN: -analyzer-checker=debug.ExprInspection -verify %s
3 
4 void clang_analyzer_dump(bool);
5 
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}}
10 }
11