2 // { dg-do compile { target c++11 } }
3 // { dg-options -fnew-inheriting-ctors }
6 template<typename T> A(T, typename T::type = 0);
13 B b(42L); // now calls B(int), used to call B<long>(long),
14 // which called A(int) due to substitution failure
17 // { dg-final { scan-assembler "_ZN1BC1Ei" } }