1 // PERMUTE_ARGS: -preview=dip1000
3 // https://issues.dlang.org/show_bug.cgi?id=20596
9 this(scope void delegate() dg
)
15 @nogc void fooTemplate()
19 void foo() { int dummy
= num
; }
21 scope s
= S
!int(&foo
);
27 scope fp
= (){ n
= 10; }; // no closure