1335552e3fff9f41067cccfd72557f801d398949aEric Christopher// RUN: %clang_cc1 -emit-llvm %s -fno-builtin -o - | FileCheck %s 2335552e3fff9f41067cccfd72557f801d398949aEric Christopher// Check that -fno-builtin is honored. 3335552e3fff9f41067cccfd72557f801d398949aEric Christopher 4335552e3fff9f41067cccfd72557f801d398949aEric Christopherextern "C" int printf(const char*, ...); 5335552e3fff9f41067cccfd72557f801d398949aEric Christophervoid foo(const char *msg) { 6335552e3fff9f41067cccfd72557f801d398949aEric Christopher // CHECK: call{{.*}}printf 7335552e3fff9f41067cccfd72557f801d398949aEric Christopher printf("%s\n",msg); 8335552e3fff9f41067cccfd72557f801d398949aEric Christopher} 9