diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr17689a.c')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr17689a.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr17689a.c b/ld/testsuite/ld-x86-64/pr17689a.c new file mode 100644 index 0000000..5317668 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr17689a.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +char *bar = "PASS"; +extern char *bar_alias __attribute__ ((weak, alias ("bar"))); + +void +foo (char *x) +{ + printf ("%s\n", x); +} |