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