Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-lambda9.C
blob: 6b81ba0adac895d867fd599875adb9a450f074c9 [
file
] [
log
] [
blame
]
// PR c++/93698
// { dg-do compile { target concepts } }
#include
<utility>
template
<
int
N
>
concept
foo
=
[]<
std
::
size_t
...
Is
>(
std
::
index_sequence
<
Is
...>)
constexpr
{
return
(
Is
+
...)
>
10
;
}(
std
::
make_index_sequence
<
N
>());
bool
a
=
foo
<
7
>;