fpc/tests/webtbs/tw1207.pp
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00

25 lines
300 B
ObjectPascal

{$mode objfpc}
program change;
type
aclasstype = class
prop : integer;
end;
procedure trychange (const aclass : aclasstype);
begin
aclass.prop := 5;
end;
var
aclass : aclasstype;
begin
aclass := AClassType.Create;
try
trychange (aclass)
finally
aclass.free;
end;
end.