2 // Test whether alternate 'asm' name is applied correctly to
3 // builtin imported into namespace std.
7 // { dg-final { scan-assembler "fancy_printf" } }
9 extern "C" int printf(char*, ...) __asm("_fancy_printf");
11 namespace std { using ::printf; }
13 namespace std { void foo() { printf("abc"); } }