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

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