1 // PR c++/93698
2 // { dg-do compile { target concepts } }
3 
4 #include <utility>
5 
6 template <int N>
7 concept foo = []<std::size_t... Is>(std::index_sequence<Is...>) constexpr {
8   return (Is + ...) > 10;
9 }(std::make_index_sequence<N>());
10 
11 bool a = foo<7>;
12