1 /* { dg-options "-fgnu89-inline" } */ 2 /* { dg-require-weak "" } */ 3 /* { dg-require-alias "" } */ 4 #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname) 5 #define ASMNAME2(prefix, cname) STRING (prefix) cname 6 #define STRING(x) #x 7 foo(void)8extern inline int foo (void) { return 23; } 9 int xxx(void) __asm__(ASMNAME ("xxx")); xxx(void)10int xxx(void) { return 23; } 11 extern int foo (void) __attribute__ ((weak, alias ("xxx"))); 12