pascalabcnet/TestSuite/units/u_generics13.pas
2023-01-29 12:04:21 +01:00

19 lines
242 B
ObjectPascal

unit u_generics13;
type
t1<T> = class end;
t2<T1, T2> = class(t1<t2<T1, T2>>) end;
t3 = class end;
t5 = class end;
t4 = class
static procedure p1<T1, T2>;
begin
new t2<T1, T2>;
end;
end;
end.