Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
20050620-1.c
blob: befdd9636500cfc8fe7db1bd4f67bee5796ed922 [
file
] [
log
] [
blame
]
/* PR middle-end/22028 */
/* { dg-do compile } */
/* { dg-options "" } */
void
foo
(
void
)
{
struct
{
int
i
[];
}
u
;
/* { dg-error "flexible array member" } */
}
void
bar
(
void
)
{
struct
{
struct
a b
;
}
c
;
/* { dg-error "has incomplete type" } */
}