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

14 lines
140 B
C

extern int foo (void) __attribute__((weak,__visibility__ ("hidden")));
int
foo (void)
{
return 1;
}
int
bar (void)
{
return foo ();
}