binutils-gdb/ld/testsuite/ld-elfweak/main1.c
H.J. Lu 0c52a746f7 2001-09-14 H.J. Lu <hjl@gnu.org>
* ld-elfweak/bar.c: Updated.
	* ld-elfweak/bar1a.c: Likewise.
	* ld-elfweak/main.c: Likewise.
	* ld-elfweak/main1.c: Likewise.
	* ld-elfweak/elfweak.exp: Likewise.
	* ld-elfweak/weakdata.dsym: Updated.
2001-09-14 23:43:17 +00:00

12 lines
118 B
C

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