modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/tests2/49_bracket_evaluation.c (about) 1 #include <stdio.h> 2 3 struct point 4 { 5 double x; 6 double y; 7 }; 8 9 struct point point_array[100]; 10 11 int main() 12 { 13 int my_point = 10; 14 15 point_array[my_point].x = 12.34; 16 point_array[my_point].y = 56.78; 17 18 printf("%f, %f\n", point_array[my_point].x, point_array[my_point].y); 19 20 return 0; 21 } 22 23 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/