tw4619b.pp 484 B

12345678910111213141516171819202122232425
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 4619 }
  3. { Submitted by "Christian Iversen" on 2005-12-19 }
  4. { e-mail: [email protected] }
  5. {$mode delphi}
  6. type
  7. TStatement = class
  8. end;
  9. TBlock = class(TStatement)
  10. protected
  11. function GetStat(const Index: LongWord): TStatement;
  12. public
  13. property Statement[const Index: Integer]: TStatement read GetStat; default;
  14. end;
  15. function TBlock.GetStat(const Index: LongWord): TStatement;
  16. begin
  17. end;
  18. begin
  19. end.