* outofmemory exception bug

This commit is contained in:
peter 2001-06-01 22:22:48 +00:00
parent f65e4ad5a3
commit 9ac5af24c1

12
tests/tbs/tb0357.pp Normal file
View File

@ -0,0 +1,12 @@
{$ifdef fpc}{$MODE OBJFPC}{$endif}
uses sysutils;
var
p:pointer;
begin
try
getmem(p, 1000000000);
except
on eoutofmemory do writeln('out of memory!');
end;
writeln('program lasts...')
end.