pascalabcnet/TestSuite/errors/err0397.pas
Ivan Bondarev 499767fe5b #2193
2021-01-07 11:59:49 +01:00

13 lines
180 B
ObjectPascal

type
c1<T1, T2> = class where T1: List<T2>;
end;
c2<T2, T3> = class(c1<T2, T3>) where T3: List<T2>;
end;
begin
new c2<List<string>, string>;
end.