fpc/tests/webtbs/tw37305a.pp
2021-03-14 21:23:05 +00:00

14 lines
171 B
ObjectPascal

{$mode objfpc}
var
i, j, c: Int32;
begin
c := 1;
for i := 0 to c do // SIGSEGV at runtime
try
j := i;
finally
if (j <> 0) then
j := 0;
end;
end.