Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/comm1.c
2023-03-06 14:48:14 +01:00

17 lines
190 B
C

#include <stdio.h>
#include <stdlib.h>
int foo;
void bar (void);
int
main ()
{
if (foo != 0)
abort ();
foo = 200;
bar ();
if (foo == 200)
printf ("PASS\n");
return 0;
}