• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | FileCheck %s
2 // Check that -fno-builtin is honored.
3 
4 extern int printf(const char*, ...);
5 
6 // CHECK: define {{.*}}void {{.*}}foo(
foo(const char * msg)7 void foo(const char *msg) {
8   // CHECK: call {{.*}}printf
9   printf("%s\n",msg);
10 }
11