Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
struct-ini-1.c
blob: ab2d178a7515017d51605c3f867997f93849b1a2 [
file
] [
log
] [
blame
]
struct
S
{
char
f1
;
int
f2
[
2
];
};
struct
S object
=
{
'X'
,
8
,
9
};
main
()
{
if
(
object
.
f1
!=
'X'
||
object
.
f2
[
0
]
!=
8
||
object
.
f2
[
1
]
!=
9
)
abort
();
exit
(
0
);
}