mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 15:49:04 +02:00
25 lines
253 B
ObjectPascal
25 lines
253 B
ObjectPascal
unit ugeneric59a;
|
|
|
|
{$ifdef fpc}
|
|
{$mode delphi}
|
|
{$endif}
|
|
|
|
interface
|
|
|
|
type
|
|
TTest<T> = class
|
|
class function Test: Integer;
|
|
end;
|
|
|
|
TTest<T, S> = class
|
|
end;
|
|
|
|
implementation
|
|
|
|
class function TTest<T>.Test: Integer;
|
|
begin
|
|
Result := 1;
|
|
end;
|
|
|
|
end.
|