blob: 0369eaef1e821b531e2ecf68ec7d88cf0f5f6218 [file] [log] [blame]
// RUN: clang -parse-ast-check %s
struct s;
struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}}
return z; // expected-error {{incompatible pointer type returning}}
}
void *k (void l[2]) { // expected-error {{array has incomplete element type}}
return l;
}