aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr19719c.c
blob: 5c877d903efde6cc9f83e12c42508272dedcff44 (plain)
1
2
3
4
5
6
7
8
extern int __attribute__ ((weak)) fun (void);
int
bar (void)
{
  if (&fun != 0)
    return fun ();
  return 0;
}