1 // RUN: %clang_analyze_cc1 -analyzer-checker=debug.ExprInspection -verify %s
3 void clang_analyzer_warnIfReached();
11 // This line used to crash
14 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}}
20 // This line used to crash
21 int *arr
= new int[n
];
23 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}}