blob: a5fda6306f2845f01d44fcffc2baa7d64c72a076 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | grep call.*printf
2// Check that -fno-builtin is honored.
3
4extern int printf(const char*, ...);
5void foo(const char *msg) {
6 printf("%s\n",msg);
7}