aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr18458c.c
blob: d40f98c7b881cf224f6c4412c7ca828be67d6664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extern void a(void);
extern void b(void);

void dummy (void)
{
  a();
}
int
compare (void (*f)(void))
{
  return a == f;
}
int
main (void)
{
  b ();
  return 0;
}