// PR c++/111357 // { dg-do compile { target c++11 } } namespace std { template struct integer_sequence { }; template using make_integer_sequence = integer_sequence<_Tp, __integer_pack(_Num)...>; } using std::integer_sequence; using std::make_integer_sequence; template void g(integer_sequence) {} template struct c1 { static constexpr int value = 1; constexpr operator int() { return value; } }; template struct R { using S = make_integer_sequence{}>; R() noexcept(noexcept(g(S()))) {} }; int main() { R(); }