pascalabcnet/TestSuite/lambda_nonstatic_from_static.pas

24 lines
276 B
ObjectPascal
Raw Normal View History

2019-05-20 23:48:59 +03:00
type
t1 = class
b: byte;
static procedure p1(b: byte);
begin
var p: procedure;
p := ()->
begin
p := ()->
begin
b := b;
end;
end;
end;
end;
begin
Assert(1=1);
2019-05-18 16:34:30 +03:00
end.