summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/931002-1.c
blob: 6a02b2343946bf0ff4cec514032ac2f6b4009320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
f (void (*func) ())
{
  func ();
}

main ()
{
#ifndef NO_TRAMPOLINES
  void t0 ()
    {
    }

  void t1 ()
    {
      f (t0);
    }

  void t2 ()
    {
      t1 ();
    }

  t1 ();
  t1 ();
  t2 ();
#endif
  exit (0);
}