binutils-gdb/ld/testsuite/ld-elf/pr2404b.c
Christophe Lyon aa68434129 [ld/testsuite] Fix pr2404 output.
2018-04-26  Christophe Lyon  <christophe.lyon@linaro.org>

	* testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for
	new variable name.
	* testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
2018-04-26 13:44:33 +00:00

22 lines
272 B
C

#include <stdio.h>
extern int bar (void);
int times = -1;
int time1;
int
main ()
{
printf ("times: %d\n", times);
times = 20;
printf ("times: %d\n", times);
printf ("time1: %d\n", time1);
time1 = 10;
printf ("time1: %d\n", time1);
bar ();
return 0;
}