pascalabcnet/TestSuite/errors/err0395.pas
Ivan Bondarev 5f647d029c #2135
2021-01-06 12:37:03 +01:00

11 lines
159 B
ObjectPascal

type
t1 = class
static procedure operator+=(a: t1; d: System.Action) := exit;
end;
begin
var a := new t1;
a *= ()->Writeln(1);
end.