// 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(char*, ...) __asm("_fancy_printf");

void foo() { printf("abc"); }


syntax highlighted by Code2HTML, v. 0.9.1