tw4757.pp 156 B

12345678910111213141516
  1. { %fail }
  2. {$mode objfpc}
  3. type
  4. tc1 = class
  5. fnext: tc1;
  6. end;
  7. tc2 = class(tc1)
  8. property next: tc2 read fnext write fnext;
  9. end;
  10. begin
  11. end.