mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 13:28:05 +02:00
17 lines
229 B
ObjectPascal
17 lines
229 B
ObjectPascal
{ %fail }
|
|
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;
|
|
|
|
TTestVariant = specialize GTest<Variant>;
|
|
|
|
begin
|
|
end.
|