// RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 -fsyntax-only -fblocks -pedantic -Wno-strict-prototypes -verify %s
void // expected-warning {{zero size arrays are an extension}} \
// expected-note {{callee declares array parameter as static here}}
void // expected-note 4 {{callee declares array parameter as static here}} expected-note 2 {{passing argument to parameter 'a' here}}
void // expected-note {{callee declares array parameter as static here}}
void
typedef int td; // expected-error {{'static' used in array declarator outside of function prototype}}
typedef void; // no-warning
void
void ; // no-warning
void ; // expected-error {{'static' used in non-outermost array type derivation}}
void ; // expected-error {{type qualifier used in non-outermost array type derivation}}
void ; // expected-error {{'static' used in non-outermost array type derivation}}
void ; // no-warning
void ; // no-warning
void ; // no-warning
void ; // expected-error{{'x' declared as array of functions of type 'int (void)'}}
void ; // expected-error{{block pointer to non-function type is invalid}}
void ; // no-warning
void int x; // no-warning