Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr84803.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-std=gnu17" } */
3
4 long a;
5 long *b;
6 void c ();
7 void d ();
8 void
9 e (long f)
10 {
11 if (a)
12 *b = f;
13 }
14 void
15 g ()
16 {
17 c (g, e);
18 }
19 void
20 c (int f, int h ())
21 {
22 d (f, h, "");
23 }
24 void
25 d (int f, int h (), char *i, char *k)
26 {
27 int j;
28 d (f, h, i + 1, k);
29 while (--j)
30 h (*i);
31 }