Turn on a implicit-function-declaration warning by default.
[tinycc.git] / tests / tests2 / 38_multiple_array_index.c
blob4e1868efeaf746f9d11cb067eab69c42650479fa
1 #include <stdio.h>
3 int main()
5 int a[4][4];
6 int b = 0;
7 int x;
8 int y;
10 for (x = 0; x < 4; x++)
12 for (y = 0; y < 4; y++)
14 b++;
15 a[x][y] = b;
19 for (x = 0; x < 4; x++)
21 printf("x=%d: ", x);
22 for (y = 0; y < 4; y++)
24 printf("%d ", a[x][y]);
26 printf("\n");
29 return 0;
32 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/