diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/pr24486b.c')
-rw-r--r-- | ld/testsuite/ld-plugin/pr24486b.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr24486b.c b/ld/testsuite/ld-plugin/pr24486b.c new file mode 100644 index 0000000..3aabe2a --- /dev/null +++ b/ld/testsuite/ld-plugin/pr24486b.c @@ -0,0 +1,8 @@ +extern void bar (void) __attribute__((weak)); + +void +foo (void) +{ + if (bar) + bar (); +} |