xxxxxxxxxx
class D {
int a = 42;
}
template initializerOf(T)
if (is(T == class))
{
pragma(mangle, "_D" ~ T.mangleof[1 .. $] ~ "6__initZ")
extern immutable ubyte[__traits(classInstanceSize, T)] initializerOf;
}
void main() {
import std;
//pragma(msg, initializer);
writeln(initializerOf!D);
}