old-cross-binutils/ld/testsuite/ld-elfweak/main1.c

12 lines
118 B
C
Raw Normal View History

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