bug0212.pp 249 B

123456789101112131415161718
  1. program proptest;
  2. type
  3. TMyRec = record
  4. Int: Integer;
  5. Str: String;
  6. end;
  7. TMyClass = class
  8. private
  9. FMyRec: TMyRec;
  10. public
  11. property AnInt: Integer read FMyRec.Int;
  12. property AStr: String read FMyRec.Str;
  13. end;
  14. begin
  15. end.