fpc/tests/webtbs/tw0630.pp
2018-03-14 22:02:45 +00:00

23 lines
307 B
ObjectPascal

{ Program 1 : memory waste
dummy test }
USES SysUtils,erroru;
procedure test_it;
var
sRec : TSearchRec;
begin
findFirst('c:\*.*',faVolumeId,sRec);
findClose(sRec);
writeln(sRec.name);
end;
var
mem : sizeuint;
begin
mem:=0;
DoMem(mem);
test_it;
DoMem(mem);
end.