fpc/tests/webtbs/tw33069.pp
2018-02-22 21:55:07 +00:00

20 lines
486 B
ObjectPascal

{ %OPT=-al }
program test;
{$mode objfpc}
type
generic IIncrediblyLongInterfaceNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame<T> = interface
end;
generic TGenericImplementationOfLongInterfaceName<T> =
class(TInterfacedObject,
specialize IIncrediblyLongInterfaceNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame<T>)
end;
TIWillBreakYou = specialize TGenericImplementationOfLongInterfaceName<Integer>;
begin
end.