fpc/tests/tbs/tb0221.pp
2000-11-30 22:38:14 +00:00

36 lines
581 B
ObjectPascal

{ Old file: tbs0260.pp }
{ problem with VMT generation if non virtual method has a virtual overload OK 0.99.12 (PM) }
program test;
type
obj1 = object
st : string;
constructor init;
procedure writeit;
end;
obj2 = object(obj1)
procedure writeit;virtual;
end;
obj3 = object(obj2)
l : longint;
end;
constructor obj1.init;
begin
end;
procedure obj1.writeit;
begin
end;
procedure obj2.writeit;
begin
end;
begin
end.