mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:28:08 +02:00
19 lines
182 B
ObjectPascal
19 lines
182 B
ObjectPascal
unit tgeneric103;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
implementation
|
|
|
|
generic procedure Test<T>(aArg: T);
|
|
begin
|
|
|
|
end;
|
|
|
|
initialization
|
|
finalization
|
|
specialize Test<LongInt>(42);
|
|
end.
|
|
|