xxxxxxxxxx
import std;
import core.stdc.stdlib;
void main() {
auto p = cast(byte*) malloc(10);
scope(exit) free(p);
scope ps = p[0 .. 10];
writeln(ps); // NG
//writelns(ps); // OK
}
void writelns(Args)(scope Args args...)
{
writeln(args);
}