// { dg-do compile { target c++23 } } #include int f(); template concept can_invoke = requires (int (&f)()) { std::invoke_r(f); }; static_assert( not can_invoke ); static_assert( not can_invoke ); static_assert( not can_invoke );