fpc/tests/tbs0096.pp
1998-12-02 13:05:01 +00:00

25 lines
272 B
ObjectPascal

type
TParent = object
end;
PParent = ^TParent;
TChild = object(TParent)
end;
procedure aProc(const x : TParent );
begin
end;
procedure anotherProc(var x : TParent );
begin
end;
var
y : TChild;
begin
aProc(y);
anotherProc(y);
end.