1 2 3 4 5 6 7 8 9 10 11 12
struct a { long a1; long a2; }; struct b { struct a b1; struct a b2; }; void bar (struct b *c) { c->b1 = c->b2 = ((struct a) { foo(), 0 }); }