fpc/bugs/bug0096.pp
1998-03-25 11:26:49 +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.