d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test17130.d
blobf3f5c3b45b97e95eee6e205ec0da165c041e41c7
1 class Base
3 this() shared
4 {}
6 this()
7 {}
10 class Derived1 : Base
12 this()
14 // implicit super();
18 class Derived2 : Base
20 // implicit this()
23 class Base2
25 this() shared
29 class Derived3 : Base2
31 // implicit this() shared
34 void test()
36 auto d2 = new Derived2;
37 auto d3 = new shared(Derived3);