Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20011119-1.c
blobb4b80ae2f1d75017b982eca16362ff4f2e276714
1 /* { dg-require-weak "" } */
2 /* { dg-require-alias "" } */
3 #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
4 #define ASMNAME2(prefix, cname) STRING (prefix) cname
5 #define STRING(x) #x
7 extern inline int foo (void) { return 23; }
8 int xxx(void) __asm__(ASMNAME ("xxx"));
9 int xxx(void) { return 23; }
10 extern int foo (void) __attribute__ ((weak, alias ("xxx")));