Fix the clang-wpa example.
[clang.git] / test / Analysis / inline3.c
blob884b3ed9dc25dd2d2a218240d71ae6ce1146a1d1
1 // RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-inline-call -analyzer-store region -verify %s
3 // Test when entering f1(), we set the right AnalysisContext to Environment.
4 // Otherwise, block-level expr '1 && a' would not be block-level.
5 int a;
7 void f1() {
8 if (1 && a)
9 return;
12 void f2() {
13 f1();