Merge from mainline.
[llvm-complete.git] / test / C++Frontend / 2007-04-14-FNoBuiltin.cpp
blob31e4528754e0d84dcda9a67c672dba9fb18a229c
1 // RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
2 // Check that -fno-builtin is honored.
4 extern "C" int printf(const char*, ...);
5 void foo(const char *msg) {
6 printf("%s\n",msg);