Sign in
llvm
/
llvm
/
refs/heads/release_23
/
.
/
test
/
C++Frontend
/
2007-04-14-FNoBuiltin.cpp
blob: 31e4528754e0d84dcda9a67c672dba9fb18a229c [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
// Check that -fno-builtin is honored.
extern
"C"
int
printf
(
const
char
*,
...);
void
foo
(
const
char
*
msg
)
{
printf
(
"%s\n"
,
msg
);
}