blob: 8f45858bb949ed8e3935a07d2025dd95606a65b0 [file] [log] [blame]
Zhongxing Xued8afac2010-04-30 04:14:20 +00001// RUN: false
2// XFAIL: *
Zhongxing Xu57d3b762010-03-04 09:04:52 +00003
4// Test when entering f1(), we set the right AnalysisContext to Environment.
5// Otherwise, block-level expr '1 && a' would not be block-level.
6int a;
7
8void f1() {
9 if (1 && a)
10 return;
11}
12
13void f2() {
14 f1();
15}