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
Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git]
/
sdcc
/
support
/
regression
/
qct
/
0093-arrayinit.c
blob
e90d5f3eecdc44a4f997383089d809a90ff78e51
1
2
typedef
struct
{
3
int
v
;
4
int
sub
[
2
];
5
}
S
;
6
7
S a
[
1
] = {{
1
, {
2
,
3
}}};
8
9
int
10
main
()
11
{
12
if
(
a
[
0
].
v
!=
1
)
13
return
1
;
14
if
(
a
[
0
].
sub
[
0
] !=
2
)
15
return
2
;
16
if
(
a
[
0
].
sub
[
1
] !=
3
)
17
return
3
;
18
19
return
0
;
20
}