// PR c++/59435 // { dg-require-effective-target c++11 } template struct T { T(unsigned int i = sizeof...(E)){} // does not compile static constexpr unsigned int U = sizeof...(E); T(unsigned int j, unsigned int i = U){} // compile }; template void test(int i = sizeof...(T)) // compile {}