Dale Johannesen | 1c44c4d | 2007-04-15 00:18:31 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | llvm-as -f | llc | grep -v puts |
2 | // Check that -fno-builtin is honored. | ||||
3 | |||||
4 | extern "C" int printf(const char*, ...); | ||||
5 | void foo(const char *msg) { | ||||
6 | printf("%s\n",msg); | ||||
7 | } |