old-cross-binutils/ld/testsuite/ld-i386/pr17689a.c

11 lines
148 B
C
Raw Normal View History

#include <stdio.h>
char *bar = "PASS";
extern char *bar_alias __attribute__ ((weak, alias ("bar")));
void
foo (char *x)
{
printf ("%s\n", x);
}