Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c99-flex-array-typedef-5.c
blob: 2d1fbe1c13084eca3830c9181e42a3d6f2150b48 [
file
] [
log
] [
blame
]
/* Test for flexible array members: not permitted in unions. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
typedef
char
T
[];
union
u
{
int
a
;
T b
;
};
/* { dg-error "flexible array member in union" } */