https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112448
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the error message on the trunk changed to: <source>:4:40: error: template argument 1 is invalid 4 | constexpr bool f(auto x) requires b<x.v> { return true; } | ^