summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921215-1.c
blob: 4fa3b7dfcccb633b4575e678659a8d4ae359ff94 (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
main()
{
#ifndef NO_TRAMPOLINES
  void p(void ((*f) (void ())))
    {
      void r()
	{
	  foo ();
	}

      f(r);
    }

  void q(void ((*f)()))
    {
      f();
    }

  p(q);
#endif
  exit(0);
}

foo(){}