1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
struct s { int a; int b; short c; int d[3]; }; struct s s = { .b = 3, .d = {2,0,0} }; main () { if (s.b != 3) abort (); exit (0); }