2 REQUIRED_ARGS: -preview=dip1000
5 fail_compilation/test23491.d(16): Error: reference to local variable `buffer` assigned to non-scope anonymous parameter
6 fail_compilation/test23491.d(17): Error: reference to local variable `buffer` assigned to non-scope anonymous parameter calling `sinkF`
7 fail_compilation/test23491.d(18): Error: reference to local variable `buffer` assigned to non-scope parameter `buf`
11 void sinkF(char[]) @safe;
13 void toString(void delegate (char[]) @safe sink
, void delegate(char[] buf
) @safe sinkNamed
) @safe
15 char[20] buffer
= void;