1 /* Anonymous struct test */ 2 3 typedef int type; 4 5 struct point { 6 int x; 7 int y; 8 }; 9 10 struct bar { 11 struct { 12 struct point top_left; 13 struct point bottom_right; 14 }; 15 type z; 16 }; 17 18 19 int 20 main(void) 21 { 22 struct bar b; 23 b.top_left.x = 1; 24 return 0; 25 } 26 27