summaryrefslogtreecommitdiff
path: root/elf/reldep6mod1.c
blob: 037a73a198c6aa4940fa9f40facfb60484d3eef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int foo (void);
int baz (void);
extern int weak (void);
asm (".weak weak");

int foo (void)
{
  return 20;
}

int baz (void)
{
  return weak () + 1;
}