aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr9676-1.c
blob: f8459c7397b7e92205c17eae790fbcc6ff029809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern int foo (void) __attribute__((section (".gnu.linkonce.t.1"), weak));

int
foo (void)
{
  return 1;
}

extern int foo2 (void);

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