Verified Commit e042915e authored by uwgwb's avatar uwgwb

Fix array indices in exec/array_index_access_order.mj

parent 1f2b11d9
...@@ -5,11 +5,11 @@ class B { ...@@ -5,11 +5,11 @@ class B {
while(x < 4) { while(x < 4) {
i[x] = (x = x + 1); i[x] = (x = x + 1);
} }
x = 0; x = -1;
while(x < 4) { while(x < 4) {
System.out.println(i[(x = x + 1)]); System.out.println(i[(x = x + 1)]);
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment