Retro68/binutils/ld/testsuite/ld-elf/weakdef1.c

16 lines
187 B
C
Raw Normal View History

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