mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 00:29:48 +02:00
23 lines
198 B
ObjectPascal
23 lines
198 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tb0666a;
|
|
|
|
{$mode delphi}
|
|
|
|
function Test<T>: T;
|
|
|
|
procedure Foo;
|
|
begin
|
|
Test<T>;
|
|
Test<LongInt>;
|
|
Test<String>;
|
|
end;
|
|
|
|
begin
|
|
Foo;
|
|
end;
|
|
|
|
begin
|
|
Test<LongInt>;
|
|
end.
|