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