Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr16566-2.c
blob: 73cf05a0d5dd259516c56cd9020384c01d6df4d1 [
file
] [
log
] [
blame
]
/* ICE with flexible arrays in non-lvalue structures. Bug 16566
(comment #5). */
/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } */
struct
A
{
int
i
;
int
x
[];
};
int
foo
(
struct
A a
)
{
return
(
a
,
a
).
x
[
0
];
}