1*d39ebdaeSVince Bridgers // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core \ 2*d39ebdaeSVince Bridgers // RUN: -analyzer-checker=debug.ExprInspection -verify %s 3*d39ebdaeSVince Bridgers 4*d39ebdaeSVince Bridgers void clang_analyzer_dump(bool); 5*d39ebdaeSVince Bridgers foo(int & x)6*d39ebdaeSVince Bridgersvoid foo(int &x) { 7*d39ebdaeSVince Bridgers int *p = &x; // 'p' is the same SVal as 'x' 8*d39ebdaeSVince Bridgers bool b = p; 9*d39ebdaeSVince Bridgers clang_analyzer_dump(b); // expected-warning {{1 U1b}} 10*d39ebdaeSVince Bridgers } 11