tb0221.pp 581 B

1234567891011121314151617181920212223242526272829303132333435
  1. { Old file: tbs0260.pp }
  2. { problem with VMT generation if non virtual method has a virtual overload OK 0.99.12 (PM) }
  3. program test;
  4. type
  5. obj1 = object
  6. st : string;
  7. constructor init;
  8. procedure writeit;
  9. end;
  10. obj2 = object(obj1)
  11. procedure writeit;virtual;
  12. end;
  13. obj3 = object(obj2)
  14. l : longint;
  15. end;
  16. constructor obj1.init;
  17. begin
  18. end;
  19. procedure obj1.writeit;
  20. begin
  21. end;
  22. procedure obj2.writeit;
  23. begin
  24. end;
  25. begin
  26. end.