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

int
foo (void)
{
  return 1;
}

int
foo2 (void)
{
  return 1;
}