Debian Codegraph @

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

raw
1 // { dg-do compile { target concepts } }
2
3 template <class T> void f(T t)
4 requires requires { static_cast<T&&>(t); }
5 {}
6
7 int main()
8 {
9 f(42);
10 }