diff options
Diffstat (limited to 'ld/testsuite/ld-elf/pr14862-1.c')
-rw-r--r-- | ld/testsuite/ld-elf/pr14862-1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr14862-1.c b/ld/testsuite/ld-elf/pr14862-1.c new file mode 100644 index 0000000..258a834 --- /dev/null +++ b/ld/testsuite/ld-elf/pr14862-1.c @@ -0,0 +1,9 @@ +extern void bar () __attribute__((weak)); + +int +main (void) +{ + if (bar) + bar (); + return 0; +} |