https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102449
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this is valid code as the compiler can deduce that First is int. All compilers I have tried accept the code.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 15 Dec 2021 19:50:14 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102449
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think this is valid code as the compiler can deduce that First is int. All compilers I have tried accept the code.