]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/gcc.c-torture/compile/20011119-1.c
GCC port for eBPF
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20011119-1.c
CommitLineData
9dddb6f5 1/* { dg-options "-fgnu89-inline" } */
bfcf81bf
JDA
2/* { dg-require-weak "" } */
3/* { dg-require-alias "" } */
eab92f58
JR
4#define ASMNAME(cname) ASMNAME2 (__USER_LABEL_PREFIX__, cname)
5#define ASMNAME2(prefix, cname) STRING (prefix) cname
6#define STRING(x) #x
7
8018b36d 8extern inline int foo (void) { return 23; }
eab92f58 9int xxx(void) __asm__(ASMNAME ("xxx"));
8018b36d 10int xxx(void) { return 23; }
83dea45d 11extern int foo (void) __attribute__ ((weak, alias ("xxx")));
This page took 9.153274 seconds and 5 git commands to generate.