mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:28:14 +02:00
32 lines
307 B
ObjectPascal
32 lines
307 B
ObjectPascal
{ %FAIL }
|
|
{ %NORUN }
|
|
program terecs18;
|
|
|
|
{$mode delphi}
|
|
|
|
type
|
|
|
|
{ TRec }
|
|
|
|
TRec = record
|
|
X: Integer;
|
|
end;
|
|
|
|
{ TRecHelper }
|
|
|
|
TRecHelper = record helper for TRec
|
|
constructor Create;
|
|
end;
|
|
|
|
{ TRecHelper }
|
|
|
|
constructor TRecHelper.Create;
|
|
begin
|
|
|
|
end;
|
|
|
|
var
|
|
R: TRec;
|
|
begin
|
|
R := TRec.Create;
|
|
end. |