aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr26391a.c
blob: 7356d9d5c3c25c3b62778e6897ea35cb1f74d8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
typedef void (*func_p) (void);

extern func_p bar1_p (void);
extern func_p bar2_p (void);
extern func_p bar3_p (void);

int
main ()
{
  func_p f;
  f = bar1_p ();
  f ();
  f = bar2_p ();
  f ();
  f = bar3_p ();
  f ();
  return 0;
}