repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-packed-1.c
blob
5bb1873dfc45fea126267b79f61bd8fb8bc37425
1
/*
2
packed-1.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
short
x1
=
17
;
8
9
struct
10
{
11
short
i
;
12
}
t
;
13
14
void
15
f
(
void
)
16
{
17
t
.
i
=
x1
;
18
ASSERT
(
t
.
i
==
17
);
19
}
20
21
void
22
testTortureExecute
(
void
)
23
{
24
f
();
25
return
;
26
}