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

15 lines
187 B
C

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