binutils-gdb/ld/testsuite/ld-elf/pr14323-1.c

18 lines
216 B
C
Raw Normal View History

#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;
}