binutils-gdb/ld/testsuite/ld-elfweak/main1.c

12 lines
118 B
C

#pragma weak deallocate_foo
int deallocate_foo = 1;
extern void foobar ();
int
main ()
{
foobar ();
return 0;
}