module foo;
static this()
{
import std.stdio;
writeln("ctor!");
}
shared static this()
{
import std.stdio;
writeln("shared ctor!");
}
static ~this()
{
import std.stdio;
writeln("dtor!");
}
shared static ~this()
{
import std.stdio;
writeln("shared dtor!");
}
void test()
{
import std.stdio;
writeln("foo.test");
}