2 REQUIRED_ARGS: -preview=dip1000
4 fail_compilation/test22145.d(115): Error: scope variable `x` assigned to global variable `global`
8 // issues.dlang.org/show_bug.cgi?id=22145
14 int opApply (scope int delegate (scope int* ptr
) @safe dg
) @safe
24 foreach (scope int* x
; s
)