https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123728
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If you had wrapped struct Test around with an anonymous namespace, there would be no ODR issue at all.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 19 Jan 2026 16:48:19 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123728
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- If you had wrapped struct Test around with an anonymous namespace, there would be no ODR issue at all.