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
/
0108-callvararg.c
blob
d12d16127b578f27822a1c6ff9673119a828a51f
1
2
int
strcmp
(
const char
*
s1
,
const char
*
s2
);
3
int
snprintf
(
char
*
str
,
int
size
,
const char
*
format
, ...);
4
5
int
6
main
()
7
{
8
char
buf
[
128
];
9
10
snprintf
(
buf
,
sizeof
(
buf
),
"hello %s"
,
"world!"
);
11
12
if
(
strcmp
(
"hello world!"
,
buf
) !=
0
)
13
return
1
;
14
15
return
0
;
16
}