fpc/tests/webtbs/tw39805a.pp
florian ceda27ae25 * allow type parameters in variant parts of records as we do not now
what type is used during specialization, resolves #39805
2022-06-28 22:45:17 +02:00

14 lines
174 B
ObjectPascal

program Project1;
{$mode objfpc}{$H+}
const
ts=3;
type
generic GTest<T>=record
case byte of
0:(ta:array [0..2] of T);
1:(t1:T;t2:T;t3:T);
end;
begin
end.