#simple loop test to ensure that loop index can be assigned to, breaks
#inside if's and constant vars work
#output should be 11

module main;

var i : int;
const a: bool = true;

begin

for i:=1 to 100 do
  if a then
    i := i + 10;
    break;
  end;
end;

output := i;

end main.