tb0011.pp 396 B

12345678910111213141516171819
  1. { %FAIL }
  2. { Old file: tbf0087.pp }
  3. { shows internal error 12 - no more SegFaults OK 0.99.1 (FK) }
  4. {
  5. BP Error message is 'Pointer variable Expected'
  6. }
  7. type
  8. tobj=object
  9. l : longint;
  10. constructor init;
  11. end;
  12. var
  13. o : tobj;
  14. begin
  15. new(o); {This will create a internal error 9999}
  16. new(o,init); {This will create a Segfault and Core Dump under linux}
  17. end.