Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr16566-1.c
blob: 4ed4ab730e69247d148917a1c8ef9fb9f184bd57 [
file
] [
log
] [
blame
]
/* ICE with flexible arrays in non-lvalue structures. Bug 16566
(comment #3). */
struct
S
;
struct
C
{
int
i
;
struct
S
*
tab
[];
};
struct
S
{
struct
C c
;
};
void
foo
(
struct
S
*
x
)
{
foo
(((
void
)
1
,
x
->
c
).
tab
[
0
]);
}