Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/pr17689a.c

11 lines
148 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdio.h>
char *bar = "PASS";
extern char *bar_alias __attribute__ ((weak, alias ("bar")));
void
foo (char *x)
{
printf ("%s\n", x);
}