1*57718be8SEnji Cooper /* C99 struct initialization */ 2*57718be8SEnji Cooper struct { 3*57718be8SEnji Cooper int i; 4*57718be8SEnji Cooper char *s; 5*57718be8SEnji Cooper } c[] = { 6*57718be8SEnji Cooper { .i = 2, }, 7*57718be8SEnji Cooper { .s = "foo" }, 8*57718be8SEnji Cooper { .i = 1, .s = "bar" }, 9*57718be8SEnji Cooper { .s = "foo", .i = -1 }, 10*57718be8SEnji Cooper }; 11