bug0045.pp 346 B

1234567891011121314151617181920212223242526
  1. TYPE
  2. tmyexample =object
  3. public
  4. constructor init;
  5. destructor done; virtual;
  6. private
  7. procedure mytest;virtual; { syntax error --> should give only a
  8. warning ? }
  9. end;
  10. constructor tmyexample.init;
  11. begin
  12. end;
  13. destructor tmyexample.done;
  14. Begin
  15. end;
  16. procedure tmyexample.mytest;
  17. begin
  18. end;
  19. Begin
  20. end.