mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +02:00
22 lines
210 B
ObjectPascal
22 lines
210 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tarray20;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch advancedrecords}
|
|
|
|
type
|
|
TTest = record
|
|
end;
|
|
|
|
operator Explicit(a: array of LongInt): TTest;
|
|
begin
|
|
|
|
end;
|
|
|
|
var
|
|
t: TTest;
|
|
begin
|
|
t := [21, 42];
|
|
end.
|