2 // { dg-do compile { target c++11 } }
4 template <class... Bases>
5 struct Derived : Bases... {
7 Derived(Ts... args) : Bases(args, args..., args)... { }
14 struct Base1 { Base1(A, A, B, C, A); };
15 struct Base2 { Base2(B, A, B, C, B); };
16 struct Base3 { Base3(C, A, B, C, C); };
18 Derived<Base1, Base2, Base3> d(A{}, B{}, C{});