// PR c++/93698 // { dg-do compile { target concepts } } #include template concept foo = [](std::index_sequence) constexpr { return (Is + ...) > 10; }(std::make_index_sequence()); bool a = foo<7>;