binutils-gdb/ld/testsuite/ld-elf/pr9676-2.c

15 lines
177 B
C

extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak,
__visibility__ ("hidden")));
int
foo (void)
{
return 1;
}
int
foo2 (void)
{
return 1;
}