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

23 lines
279 B
ObjectPascal

{ %FAIL }
program tarray19;
{$mode objfpc}
{$modeswitch advancedrecords}
type
TTest = record
class operator Explicit(a: array of LongInt): TTest;
end;
class operator TTest.Explicit(a: array of LongInt): TTest;
begin
end;
var
t: TTest;
begin
t := [21, 42];
end.