aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr23997c.c
blob: 357315751d5e91926a6154c5e7ad1d216d8d3db8 (plain)
1
2
3
4
5
6
7
extern int foo_p;

void *
get_foo (void)
{
  return (void *) ((long) &foo_p + foo_p);
}