12 lines
217 B
ObjectPascal
12 lines
217 B
ObjectPascal
type
|
|
t0=record end;
|
|
|
|
t1<T>=class
|
|
where T: t0;
|
|
end;
|
|
|
|
t2<T>=class(t1<T>) where T: constructor; end;
|
|
|
|
begin
|
|
//var a := new t2<t0>;//не обязательно чтоб вызвать ошибку
|
|
end. |