diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/lto-14a.c')
-rw-r--r-- | ld/testsuite/ld-plugin/lto-14a.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto-14a.c b/ld/testsuite/ld-plugin/lto-14a.c new file mode 100644 index 0000000..d61437b --- /dev/null +++ b/ld/testsuite/ld-plugin/lto-14a.c @@ -0,0 +1,12 @@ +#include <stdio.h> + +extern void foo(void); +extern int i; + +int main() +{ + foo(); + if (i == 0x1234) + printf ("PASS\n"); + return 0; +} |