tb0002.pp 252 B

12345678910111213141516
  1. { %FAIL }
  2. { Old file: tbf0029.pp }
  3. { tests typeof(object type) OK 0.99.1 (FK) }
  4. type
  5. TA = object
  6. end;
  7. var
  8. P: Pointer;
  9. begin
  10. { must fail on compilation because
  11. TA has no VMT }
  12. P := pointer(TypeOf(TA));
  13. end.