Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
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
);
}