// PR c++/64521 // { dg-options "-frepo -std=c++11" } // { dg-require-host-local "" } // { dg-skip-if "dkms are not final links" { vxworks_kernel } } // { dg-final cleanup-repo-files } template struct J { J(H) {} }; template struct K; template struct K {}; template struct K : K, J { K(const H &p1, const T &... p2) : K(p2...), J(p1) {} }; template struct C : K<0, E...> { C(const E &... p1) : K<0, E...>(p1...) {} }; template struct A { A() = default; }; struct M; template struct L { struct B { template static M *__test(...); typedef A _Del; typedef decltype(__test<_Del>()) type; }; C> _M_t; L(typename B::type) : _M_t(0, A()) {} }; struct M {}; int main() { L(new M); }