1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
main () { int i, j, k[3]; j = 0; for (i=0; i < 3; i++) { k[i] = j++; } for (i=2; i >= 0; i--) { if (k[i] != i) abort (); } exit (0); }