URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011119-1.c] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-require-weak "" } */ /* { dg-require-alias "" } */ #define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname) #define ASMNAME2(prefix, cname) STRING (prefix) cname #define STRING(x) #x extern inline int foo (void) { return 23; } int xxx(void) __asm__(ASMNAME ("xxx")); int xxx(void) { return 23; } extern int foo (void) __attribute__ ((weak, alias ("xxx")));
Go to most recent revision | Compare with Previous | Blame | View Log