mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 09:10:23 +02:00
13 lines
201 B
ObjectPascal
13 lines
201 B
ObjectPascal
{%FAIL}
|
|
{$mode objfpc}
|
|
{
|
|
test type mismatch when specializing constants with types
|
|
}
|
|
program tgenconst9;
|
|
type
|
|
generic TByte<const U: Byte> = record end;
|
|
var
|
|
a: specialize TByte<string>;
|
|
begin
|
|
end.
|