Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-pr67692.C

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 }