2
0

tw12508a.pp 359 B

12345678910111213141516171819202122232425
  1. { %norun }
  2. { %opt=-Sew -vw }
  3. procedure test(a: longint);
  4. var
  5. i: longint;
  6. begin
  7. i:=1;
  8. if (a < 0) then
  9. begin
  10. for i := 1 to 2 do
  11. writeln(i);
  12. end
  13. else
  14. begin
  15. { the for-loop in the then-branch must not mark i in this block
  16. as "uninitialised"
  17. }
  18. if i > 0 then
  19. writeln(i);
  20. end;
  21. end;
  22. begin
  23. end.