pascalabcnet/TestSuite/formatter_tests/input/foreach4.pas
Бондарев Иван 136a60fdf3 fix #1218
fix #1219
fix #1220
2018-09-20 21:21:16 +02:00

10 lines
136 B
ObjectPascal

begin
var i := 0;
foreach var s in Arr(1,2,3) do
begin
i := s;
if s = 2 then
break;
end;
assert(i = 2);
end.