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