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