https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79711
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On the trunk we get:
t65.cc:4:17: error: lvalue required as unary ‘&’ operand
4 | static_assert((&f<int>)());
| ^~~~~~
