blob: a90ec1f3318b981c90292e9bbe75e0d4c8c25252 [file] [log] [blame]
mixin(genCtor("666")); mixin(genCtor("777"));
int i;
string genCtor(string a)
{
return "static this() { i += " ~ a ~ "; }";
}
void main()
{
assert(i == 0 + 666 + 777);
}