pascalabcnet/TestSuite/errors/err0394.pas

11 lines
168 B
ObjectPascal
Raw Permalink Normal View History

2021-01-06 14:11:41 +03:00
type
t1 = class
static procedure operator+=(a: t1; d: System.Action<integer>) := exit;
end;
begin
var a := new t1;
a += ()->Writeln(1);
end.