Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
strct-pack-2.c
blob: be76c764521b3e9d922bee99276a97d3aaaf21c7 [
file
] [
log
] [
blame
]
typedef
struct
{
short
a __attribute__
((
aligned
(
2
),
packed
));
short
*
ap
[
2
]
__attribute__
((
aligned
(
2
),
packed
));
}
A
;
main
()
{
short
i
,
j
=
1
;
A a
,
*
ap
=
&
a
;
ap
->
ap
[
j
]
=
&
i
;
exit
(
0
);
}