mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 09:29:25 +02:00

+ 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 -
13 lines
186 B
ObjectPascal
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.
|