https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ICC rejects the template function f before even processing the statement. GCC, clang and MSVC rejects the same way.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 28 Aug 2021 15:20:37 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ICC rejects the template function f before even processing the statement. GCC, clang and MSVC rejects the same way.