fpc/tests/webtbs/tw37261.pp
florian ff295bf349 * delay setting of pd_body and pd_implement till the header of a generic
procedure is parsed, resolves #37261

git-svn-id: trunk@45717 -
2020-06-30 20:36:51 +00:00

22 lines
289 B
ObjectPascal

program Project1;
{$mode delphi}
type
{ TClass }
TClass = class
public
class function ToString<T>(A: T; B: string): string; reintroduce;
end;
{ TClass }
class function TClass.ToString<T>(A: T; B: string): string;
begin end;
begin
TClass.ToString<integer>(1, '');
end.