aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr22269-1.c
blob: 0d3c6ba8ac531d558e2affdf9d83a056baf731ae (plain)
1
2
3
4
5
6
7
8
9
extern int foo __attribute ((weak));

int
_start (void)
{
  if (&foo)
    return foo;
  return 0;
}