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