1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-07 12:35:41 +00:00
llvm-6502/test/C++Frontend/2007-04-14-FNoBuiltin.cpp

8 lines
197 B
C++
Raw Normal View History

// RUN: %llvmgcc -S %s -O2 -fno-builtin -o - | grep call.*printf
// Check that -fno-builtin is honored.
extern "C" int printf(const char*, ...);
void foo(const char *msg) {
printf("%s\n",msg);
}