1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
struct Foo { int i; int j[]; }; struct Foo x = { 1, { 2, 0, 2, 3 } }; int foo(void) { x.j[0] = 1; return x.j[1]; } extern void abort(void); int main() { if (foo() != 0) abort(); return 0; }