1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 3 // Check C99 6.8.5p3 b1(void)4void b1 (void) { for (void (*f) (void);;); } b2(void)5void b2 (void) { for (void f (void);;); } // expected-error {{declaration of non-local variable}} b3(void)6void b3 (void) { for (static int f;;); } // expected-error {{declaration of non-local variable}} b4(void)7void b4 (void) { for (typedef int f;;); } // expected-error {{declaration of non-local variable}} 8