☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr67692.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/concepts-pr67692.C
code
plain
raw
1
// { dg-do compile { target c++20 } }
2
3
template<class T>
4
bool f(T x) {
5
return requires(T x) {
6
++x;
7
};
8
}
9
10
int main() {
11
f(3);
12
return 0;
13
}