Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-elf/pr14323-1.c

18 lines
216 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdlib.h>
#include <stdio.h>
extern int foo_alias;
extern char *bar ();
int
main ()
{
if (foo_alias != 0)
abort ();
bar ();
if (foo_alias != -1)
abort ();
printf ("PASS\n");
return 0;
}