Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr33382.c
blob: ee539643ae67906f863c4798e102ea951d99da3b [
file
] [
log
] [
blame
]
struct
Foo
{
int
i
;
int
j
[];
};
struct
Foo
x
=
{
1
,
{
2
,
0
,
2
,
3
}
};
int
foo
(
void
)
{
x
.
j
[
0
]
=
1
;
return
x
.
j
[
1
];
}
extern
void
abort
(
void
);
int
main
()
{
if
(
foo
()
!=
0
)
abort
();
return
0
;
}