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

Reply via email to