xxxxxxxxxx
import std.stdio;
struct S(T) {
T i;
this(T i) {
this.i = i;
if (__ctfe)
writeln("log it");
}
}
int f() {
static x = S!int(3);
return x.i++;
}
void main() {
writeln(f); // print 3
writeln(f); // print 4
}