diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/lto-7a.c')
-rw-r--r-- | ld/testsuite/ld-plugin/lto-7a.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto-7a.c b/ld/testsuite/ld-plugin/lto-7a.c new file mode 100644 index 00000000000..d277a43da27 --- /dev/null +++ b/ld/testsuite/ld-plugin/lto-7a.c @@ -0,0 +1,14 @@ +#include <stdlib.h> +#include <stdio.h> + +int foo = -1; + +extern void bar (); + +int +main (int argc, char **argv) +{ + bar (); + printf ("OK\n"); + return 0; +} |