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
/
qct
/
0048-inits.c
blob
c0208c02df294b43326a8ad776a81749cadbe918
1
2
struct
{
int
a
;
int
b
;
int
c
; }
s
= {
1
,
2
,
3
};
3
4
int
5
main
()
6
{
7
if
(
s
.
a
!=
1
)
8
return
1
;
9
if
(
s
.
b
!=
2
)
10
return
2
;
11
if
(
s
.
c
!=
3
)
12
return
3
;
13
14
return
0
;
15
}