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
/
0059-multistring.c
blob
b04acaa7a09efd5c1141e27c05929a7e7836c20e
1
2
3
4
int
main
()
5
{
6
const char
*
s
;
7
8
s
=
"abc"
"def"
;
9
if
(
s
[
0
] !=
'a'
)
return
1
;
10
if
(
s
[
1
] !=
'b'
)
return
2
;
11
if
(
s
[
2
] !=
'c'
)
return
3
;
12
if
(
s
[
3
] !=
'd'
)
return
4
;
13
if
(
s
[
4
] !=
'e'
)
return
5
;
14
if
(
s
[
5
] !=
'f'
)
return
6
;
15
if
(
s
[
6
] !=
0
)
return
7
;
16
17
return
0
;
18
}