tb0025.pp 317 B

1234567891011121314151617181920212223
  1. { Old file: tbs0029.pp }
  2. { tests typeof(object type) OK 0.99.1 (FK) }
  3. type
  4. TA = object
  5. constructor init;
  6. procedure test;virtual;
  7. end;
  8. constructor TA.init;
  9. begin
  10. end;
  11. procedure TA.test;
  12. begin
  13. end;
  14. var
  15. P: Pointer;
  16. begin
  17. P := pointer(TypeOf(TA));
  18. end.