https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864
--- Comment #12 from Pilar Latiesa <pilarlatiesa at gmail dot com> --- If sum isn't a template it compiles fine with the current trunk: https://godbolt.org/z/4cGfTocj8
pilarlatiesa at gmail dot com via Gcc-bugs Thu, 05 Jun 2025 02:53:14 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119864
--- Comment #12 from Pilar Latiesa <pilarlatiesa at gmail dot com> --- If sum isn't a template it compiles fine with the current trunk: https://godbolt.org/z/4cGfTocj8