Lines Matching full:static
3 void cat0(int a[static 0]) {} // expected-warning {{'static' has no effect on zero-length arrays}}
5 void cat(int a[static 3]) {} // expected-note 2 {{callee declares array parameter as static here}}
7 void vat(int i, int a[static i]) {} // expected-note {{callee declares array parameter as static here}}
25 typedef int td[static 3]; // expected-error {{'static' used in array declarator outside of function prototype}}
26 typedef void(*fp)(int[static 42]); // no-warning
29 int a[static 42]; // expected-error {{'static' used in array declarator outside of function prototype}}
35 int e[static restrict 1]; // expected-error {{'static' used in array declarator outside of function prototype}}
38 void h(int [static const 10][42]); // no-warning
41 [static 42]); // expected-error {{'static' used in non-outermost array type derivation}}
46 void k(int (*x)[static 10]); // expected-error {{'static' used in non-outermost array type derivation}}
47 void l(int (x)[static 10]); // no-warning
48 void m(int *x[static 10]); // no-warning
49 void n(int *(x)[static 10]); // no-warning
51 void o(int (x[static 10])(void)); // expected-error{{'x' declared as array of functions of type 'int (void)'}}
52 void p(int (^x)[static 10]); // expected-error{{block pointer to non-function type is invalid}}
53 void q(int (^x[static 10])()); // no-warning