redecl.c 264 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 // RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -verify %s // XFAIL: * void clang_analyzer_eval(int); extern const int extInt; int main() { clang_analyzer_eval(extInt == 2); // expected-warning{{TRUE}} } extern const int extInt = 2;