mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 12:28:08 +02:00

+ added tests Note: what Delphi /does/ allow however is to overload a generic routine with a generic type... go figure. :/ We currently don't allow that git-svn-id: trunk@48002 -
26 lines
201 B
ObjectPascal
26 lines
201 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tgenfunc24;
|
|
|
|
{$mode delphi}
|
|
|
|
type
|
|
TTest = class
|
|
public type
|
|
Test = class
|
|
end;
|
|
|
|
public
|
|
procedure Test<T>;
|
|
end;
|
|
|
|
procedure TTest.Test<T>;
|
|
begin
|
|
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|
|
|