aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-04-14-FNoBuiltin.c
blob: 88bf0e014309067d9717674385877304cecc4316 (plain)
1
2
3
4
5
6
7
// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
// Check that -fno-builtin is honored.

extern int printf(const char*, ...);
void foo(const char *msg) {
	printf("%s\n",msg);
}