diff options
Diffstat (limited to 'elf/tst-secondary3.c')
-rw-r--r-- | elf/tst-secondary3.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/elf/tst-secondary3.c b/elf/tst-secondary3.c new file mode 100644 index 0000000000..b55baea6d6 --- /dev/null +++ b/elf/tst-secondary3.c @@ -0,0 +1,13 @@ +/* Verify that weak function is called. */ + +#include "tst-secondary.h" + +extern int bar (void); +extern void foo (void); + +int +main (void) +{ + foo (); + return bar () != WEAK; +} |