mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 02:28:14 +02:00
22 lines
236 B
ObjectPascal
22 lines
236 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tw40410;
|
|
|
|
{$mode delphi}
|
|
|
|
procedure _Test0<T>(const AParam: T);
|
|
begin
|
|
end;
|
|
|
|
procedure _Test<T>(const AValue1, AValue2: T);
|
|
begin
|
|
try
|
|
_Test0<T>(AValue1);
|
|
except
|
|
_Test0<T>(AValue2);
|
|
end;
|
|
end;
|
|
|
|
begin
|
|
end.
|