Turn on a implicit-function-declaration warning by default.
[tinycc.git] / tests / tests2 / 49_bracket_evaluation.c
blob0cbe57d625a8977e15cb4a1ea2830b5a87d2b265
1 #include <stdio.h>
3 struct point
5 double x;
6 double y;
7 };
9 struct point point_array[100];
11 int main()
13 int my_point = 10;
15 point_array[my_point].x = 12.34;
16 point_array[my_point].y = 56.78;
18 printf("%f, %f\n", point_array[my_point].x, point_array[my_point].y);
20 return 0;
23 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/