blob: b7880e2bf74b1ed1ec478b13af5d14f707c15741 [file] [log] [blame]
shared struct Shared
{
static Shared make()
{
return Shared();
}
~this()
{
}
}
shared struct Foo
{
~this()
{
}
}
struct Inner { ~this() {} }
struct Outer { shared(Inner) inner; }
void main()
{
Foo x = Foo();
auto s = Shared.make();
Outer _;
}