1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 if (int foo
= f(bar
)) {} // expected-error{{use of undeclared identifier 'bar'}}
5 while (int foo
= f(bar
)) {} // expected-error{{use of undeclared identifier 'bar'}}
6 for (int foo
= f(bar
);;) {} // expected-error{{use of undeclared identifier 'bar'}}
9 if (int foo
= f(bar
)) {}
10 while (int foo
= f(bar
)) {}
11 for (int foo
= f(bar
);;) {}