☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-lambda23.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-lambda23.C
code
plain
raw
1
// PR c++/119175
2
// { dg-do compile { target c++20 } }
3
4
template<int = 0>
5
static void from() requires requires {
6
[]<int> requires requires { [] {}; } {};
7
}
8
{}
9
10
int main() {
11
from();
12
}