tw4619a.pp 519 B

1234567891011121314151617181920212223242526
  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. // The parameter must be Integer instead of LongWord
  12. function GetStat(const Index: LongWord): TStatement;
  13. public
  14. property Statement1: TStatement index 1 read GetStat;
  15. end;
  16. function TBlock.GetStat(const Index: LongWord): TStatement;
  17. begin
  18. end;
  19. begin
  20. end.