blob: 88bf0e014309067d9717674385877304cecc4316 [file] [log] [blame]
Dale Johannesena156ee12007-04-15 02:40:12 +00001// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
Dale Johannesen1c44c4d2007-04-15 00:18:31 +00002// Check that -fno-builtin is honored.
3
4extern int printf(const char*, ...);
5void foo(const char *msg) {
6 printf("%s\n",msg);
7}