repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[powerpc] [testsuite] reorder dg directives [PR106069]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
strct-pack-2.c
blob
31d613f7f8f88c51b0bcdc1dd4ab1d9e498dfc1d
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
typedef
struct
5
{
6
short
a
__attribute__
((
aligned
(
2
),
packed
));
7
short
*
ap
[
2
]
__attribute__
((
aligned
(
2
),
packed
));
8
}
A
;
9
10
int
11
main
(
void
)
12
{
13
short
i
,
j
=
1
;
14
A a
, *
ap
= &
a
;
15
ap
->
ap
[
j
] = &
i
;
16
exit
(
0
);
17
}