OSDN Git Service

PR middle-end/34688
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20010226-1.c
1 void f1 (void *);
2 void f3 (void *, void (*)(void *));
3 void f2 (void *);
4
5 int foo (void *a, int b)
6 {
7   if (!b)
8     {
9       f1 (a);
10       return 1;
11     }
12   if (b)
13     {
14       void bar (void *c)
15       {
16         if (c == a)
17           f2 (c);
18       }
19       f3 (a, bar);
20     }
21   return 0;
22 }