fpc/tests/webtbs/tw37305b.pp
svenbarth 4b7f92a367 Merged revision(s) 48972, 49057 from trunk:
+ tx64tryfinallynode.dogetcopy properly implemented, resolves #37305
........
  * patch by Do-wan Kim: fix loop unrolling for try .. finally blocks in win32,
    similiar to r48972 for win64
........

git-svn-id: branches/fixes_3_2@49316 -
2021-05-01 15:48:45 +00:00

13 lines
186 B
ObjectPascal

{$mode objfpc}
var
i, j: Int32;
begin
for i := 0 to 1 do // Error: Compilation raised exception internally
try
j := i;
finally
if (j <> 0) then
j := 0;
end;
end.