blob: 9947c85bf799b2ea5b51ebda5ff1c964db6dc62f [file] [log] [blame]
// Test whether alternate 'asm' name is applied correctly to
// builtin in global namespace
// { dg-do compile }
// { dg-options "" }
// { dg-final { scan-assembler "fancy_printf" } }
extern "C" int printf(const char*, ...) __asm("_fancy_printf");
void foo() { printf("abc"); }