Code to reproduce
routine main() is
var x : array[5] integer;
x[1] := 1;
var y is x[1];
println y;
return;
end
Expected behavior
Prints 1
Actual behavior
Prints garbage from memory, most probably the error originates from the local variable intialization code in VariableDeclarartion::visit