fpc/tests/tbs0212.pp
1999-05-31 21:41:14 +00:00

20 lines
265 B
ObjectPascal

program proptest;
{$mode objfpc}
type
TMyRec = record
Int: Integer;
Str: String;
end;
TMyClass = class
private
FMyRec: TMyRec;
public
property AnInt: Integer read FMyRec.Int;
property AStr: String read FMyRec.Str;
end;
begin
end.