pascalabcnet/TestSuite/abstract6.pas
Ivan Bondarev 3823906c2d fix #2815
2024-01-04 17:44:29 +01:00

18 lines
335 B
ObjectPascal
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{$reference l1.dll}
type
c0 = class end;
// обязательно использовать кастомный тип в качестве типоаргумента
// с ns.c2<object> не проявляется
c3 = class(ns.c2<c0>)
procedure test;
begin
f1();
end;
end;
begin
var obj := new c3;
end.