1 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s
2 // rdar://8295106
3
4 int main() {
5 id array;
6
7 for (int (^b)(void) in array) {
8 if (b() == 10000) {
9 return 1;
10 }
11 }
12
13 int (^b)(void) in array; // expected-error {{expected ';' at end of declaration}}
14 }
15