forked from OSchip/llvm-project
parent
14a251b937
commit
20746d84c2
|
|
@ -0,0 +1,7 @@
|
|||
// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | llvm-as -f | llc | grep -v puts
|
||||
// Check that -fno-builtin is honored.
|
||||
|
||||
extern "C" int printf(const char*, ...);
|
||||
void foo(const char *msg) {
|
||||
printf("%s\n",msg);
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | llvm-as -f | llc | grep -v puts
|
||||
// Check that -fno-builtin is honored.
|
||||
|
||||
extern int printf(const char*, ...);
|
||||
void foo(const char *msg) {
|
||||
printf("%s\n",msg);
|
||||
}
|
||||
Loading…
Reference in New Issue