blob: d27ba15f3e02d8ad0d40c2e5b73900aa74859472 [file] [log] [blame]
struct bar2
{
int i;
@disable this();
this(int i)
{
this.i = i;
}
}
class InnerBar {
bar2 b;
this()
{
b = bar2(0);
}
}
struct bar1
{
InnerBar b;
}
class Foo
{
bar1 m_bar1;
}
void main(string[] args)
{
auto foo = new Foo();
}