binutils-gdb/ld/testsuite/ld-elf/pr19719b.c

9 lines
113 B
C

extern int __attribute__ ((weak)) fun (void);
int
foo (void)
{
if (&fun != 0)
return fun ();
return 0;
}