xxxxxxxxxx
import std;
struct A
{
SysTime timestamp;
}
A createA()
{
scope a = A(Clock.currTime());
// Error: scope variable a may not be returned
return a;
// OK
//return A(SysTime(a.timestamp.stdTime, a.timestamp.timezone));
}
void main()
{
writefln("%s", createA);
}