fpc/tests/tbs/tb0710.pp

9 lines
100 B
ObjectPascal

var
p : pointer;
begin
p:=getmem(0);
if not(assigned(p)) then
halt(1);
freemem(p);
end.