mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00
16 lines
245 B
ObjectPascal
16 lines
245 B
ObjectPascal
{ %fail }
|
|
{$mode objfpc}
|
|
{$modeswitch FUNCTIONREFERENCES}
|
|
program Project1;
|
|
type
|
|
{ generic Tbar<_A> = type class
|
|
f:_A;
|
|
end;}
|
|
|
|
a = type reference to procedure;
|
|
|
|
tabc = specialize TBar<integer>; // Internal error 2012101001
|
|
|
|
begin
|
|
end.
|