RosettaCodeData/Task/Memory-allocation/Pascal/memory-allocation-2.pas

12 lines
107 B
ObjectPascal
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
type
Tcl = class
dummy: longint;
end;
var
c1: cl;
begin
c1:=Tcl.create;
...
c1.destroy;
end;