fpc/tests/test/tarray20.pp
marco 0f4e7b65b2 # revisions: 41843,41844,42700
git-svn-id: branches/fixes_3_2@43396 -
2019-11-05 15:35:13 +00:00

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.