repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC++
/
2007-04-14-FNoBuiltin.cpp
blob
31e4528754e0d84dcda9a67c672dba9fb18a229c
1
// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
2
// Check that -fno-builtin is honored.
3
4
extern
"C"
int
printf
(
const char
*, ...);
5
void
foo
(
const char
*
msg
) {
6
printf
(
"%s
\n
"
,
msg
);
7
}