aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr9679-2.c
blob: e125a6b746e1b3cae4b99684abf18767f2692505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern int foo (void) __attribute__((weak,__visibility__ ("hidden")));

int
foo (void)
{
  return 1;
}

int
bar (void)
{
  return foo ();
}