1 /* { dg-do compile } */
2 
3 struct e {
4     int (*f)();
5     void (*g)();
6 } * c;
7 int a;
8 void *h();
9 typedef struct { struct e j; } k;
l()10 int l() { return a; }
11 const struct e b = {l};
m()12 void m()
13 {
14   k *d = h();
15   d->j = b;
16   c = (struct e *)d;
17   struct e *i = c;
18   if (i->f(c))
19     while (i->f(c))
20       i->g();
21 }
22