diff options
Diffstat (limited to 'ld/testsuite/ld-elf/pr31482c-no-lto.c')
-rw-r--r-- | ld/testsuite/ld-elf/pr31482c-no-lto.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr31482c-no-lto.c b/ld/testsuite/ld-elf/pr31482c-no-lto.c new file mode 100644 index 0000000..bf326dd --- /dev/null +++ b/ld/testsuite/ld-elf/pr31482c-no-lto.c @@ -0,0 +1,15 @@ +#include <stdlib.h> +#include <stdio.h> + +void +abort (void) +{ + printf ("PASS\n"); + exit (0); +} + +void +foo (void) +{ + abort (); +} |