mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
17 lines
202 B
ObjectPascal
17 lines
202 B
ObjectPascal
{ %FAIL }
|
|
program trecinit1;
|
|
|
|
{$mode delphi}
|
|
{$ModeSwitch advancedrecords}
|
|
|
|
type
|
|
TTestRec = record
|
|
A: Integer;
|
|
property B: Integer read A;
|
|
end;
|
|
|
|
const
|
|
rec: TTestRec = (A:42; B:32);
|
|
begin
|
|
end.
|