fpc/tests/tbs/tb0135.pp
2002-09-07 15:40:30 +00:00

26 lines
373 B
ObjectPascal

{ Old file: tbs0159.pp }
{ Invalid virtual functions - should compile OK 0.99.7 (FK) }
Type TParent = Object
Procedure SomeProc;
end;
TChild = Object(TParent)
Procedure SomeProc; virtual;
end;
Procedure TParent.someproc;
Begin
end;
procedure TChild.Someproc;
Begin
end;
Begin
end.