mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:28:14 +02:00
16 lines
198 B
ObjectPascal
16 lines
198 B
ObjectPascal
{ %NORUN }
|
|
{$mode objfpc}
|
|
{
|
|
test def compare with specialized types
|
|
}
|
|
program tgenconst12;
|
|
|
|
type
|
|
generic TTest<const U: integer> = class
|
|
end;
|
|
|
|
type
|
|
ATest = specialize TTest<100>;
|
|
begin
|
|
end.
|