1 2 3 4 5 6 7 8 9 10 11
struct s1 { int f1; }; struct s2 { struct s1 a; int f2; }; foo (struct s2 *ptr) { *ptr = (struct s2) {{}, 0}; }