mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:39:24 +02:00
31 lines
246 B
ObjectPascal
31 lines
246 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tw36014;
|
|
|
|
{$mode objfpc}
|
|
|
|
type
|
|
|
|
{ TTest }
|
|
|
|
TTest = class
|
|
public
|
|
procedure Test;
|
|
end;
|
|
var
|
|
T: TTest;
|
|
|
|
{ TTest }
|
|
|
|
procedure TTest.Test;
|
|
begin
|
|
|
|
end;
|
|
|
|
begin
|
|
T := TTest.Create;
|
|
T.specialize Test<T>;
|
|
T.Free;
|
|
end.
|
|
|