aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr17689a.c
blob: 5317668876e7539b2b2cfbac5cdd8efd14631a92 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

char *bar = "PASS";
extern char *bar_alias __attribute__ ((weak, alias ("bar")));

void
foo (char *x)
{
  printf ("%s\n", x);
}