12 lines
251 B
C
12 lines
251 B
C
// RUN: clang -parse-ast-check %s
|
|
|
|
struct s;
|
|
struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}}
|
|
return z;
|
|
}
|
|
|
|
void *k (void l[2]) { // expected-error {{array has incomplete element type}}
|
|
return l;
|
|
}
|
|
|