blob: f3f5c3b45b97e95eee6e205ec0da165c041e41c7 [file] [log] [blame]
class Base
{
this() shared
{}
this()
{}
}
class Derived1 : Base
{
this()
{
// implicit super();
}
}
class Derived2 : Base
{
// implicit this()
}
class Base2
{
this() shared
{}
}
class Derived3 : Base2
{
// implicit this() shared
}
void test()
{
auto d2 = new Derived2;
auto d3 = new shared(Derived3);
}