pascalabcnet/TestSuite/errors/err0402.pas

13 lines
156 B
ObjectPascal
Raw Permalink Normal View History

2021-01-26 22:41:42 +03:00
type
t0 = abstract class
private constructor := exit;
end;
t1<T> = class
where T: t0, constructor;
end;
begin
new t1<t0>;
end.