Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/torture/pr84803.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile } */ | |
2 | |
3 long a; | |
4 long *b; | |
5 void c (); | |
6 void d (); | |
7 void | |
8 e (long f) | |
9 { | |
10 if (a) | |
11 *b = f; | |
12 } | |
13 void | |
14 g () | |
15 { | |
16 c (g, e); | |
17 } | |
18 void | |
19 c (int f, int h ()) | |
20 { | |
21 d (f, h, ""); | |
22 } | |
23 void | |
24 d (int f, int h (), char *i, char *k) | |
25 { | |
26 int j; | |
27 d (f, h, i + 1, k); | |
28 while (--j) | |
29 h (*i); | |
30 } |