Add predictability in CType initialization.
[tinycc.git] / tests2 / 34_array_assignment.c
blob5885c97326370c298153c177417d43edae8e9a51
1 #include <stdio.h>
3 int main()
5 int a[4];
7 a[0] = 12;
8 a[1] = 23;
9 a[2] = 34;
10 a[3] = 45;
12 printf("%d %d %d %d\n", a[0], a[1], a[2], a[3]);
14 int b[4];
16 b = a;
18 printf("%d %d %d %d\n", b[0], b[1], b[2], b[3]);
20 return 0;
23 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/