Retro68/binutils/ld/testsuite/ld-elf/pr9676-1.c

16 lines
171 B
C
Raw Normal View History

2012-03-26 19:18:29 +00:00
extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak));
int
foo (void)
{
return 1;
}
extern int foo2 (void);
int
bar (void)
{
return foo2 ();
}