☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-requires37.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-requires37.C
code
plain
raw
1
// PR c++/101043
2
// { dg-do compile { target c++20 } }
3
4
template<class T>
5
void f(T t) {
6
[&](auto) noexcept(requires { t.g(); }) { }(0);
7
}
8
9
int main() {
10
f(0);
11
}