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
/
0095-arrayselector.c
blob
19341f2aa9a8e5241448c8840276ebf8fbf22682
1
2
3
4
5
int
a
[] = {
5
, [
2
] =
2
,
3
};
6
7
int
8
main
()
9
{
10
if
(
sizeof
(
a
) !=
4
*
sizeof
(
int
))
11
return
1
;
12
13
if
(
a
[
0
] !=
5
)
14
return
2
;
15
if
(
a
[
1
] !=
0
)
16
return
3
;
17
if
(
a
[
2
] !=
2
)
18
return
4
;
19
if
(
a
[
3
] !=
3
)
20
return
5
;
21
22
return
0
;
23
}