Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-test-suite
/
f8cce5587c37960f53d26daff9cf39ef18330059
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20030109-1.c
blob: 1bea931f64ca9fc8bcdb0cf016b48d2d30217a18 [
file
] [
log
] [
blame
]
/* PR c/8032 */
/* Verify that an empty initializer inside a partial
parent initializer doesn't confuse GCC. */
struct
X
{
int
a
;
int
b
;
int
z
[];
};
struct
X x
=
{
.
b
=
40
,
.
z
=
{}
};
int
main
()
{
if
(
x
.
b
!=
40
)
abort
();
return
0
;
}