repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2007-04-14-FNoBuiltin.cpp
blob
4475fda95c08d807bd16eb63c8d0033c0aa31763
1
// RUN: %clang_cc1 -emit-llvm %s -fno-builtin -o - | FileCheck %s
2
// Check that -fno-builtin is honored.
3
4
extern
"C"
int
printf
(
const char
*, ...);
5
void
foo
(
const char
*
msg
) {
6
// CHECK: call{{.*}}printf
7
printf
(
"%s
\n
"
,
msg
);
8
}