Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. ...
[llvm-project.git] / clang / test / CodeGen / 2007-04-14-FNoBuiltin.c
blobb95f41c52d27c69be8cee7a99836f4818d86b7cd
1 // RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | FileCheck %s
2 // RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin-printf -o - | FileCheck %s
3 // Check that -fno-builtin is honored.
5 extern int printf(const char*, ...);
7 // CHECK: define {{.*}}void {{.*}}foo(
8 void foo(const char *msg) {
9 // CHECK: call {{.*}}printf
10 printf("%s\n",msg);