https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118047
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.4.0
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2024-12-15
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
s/E e = One;/int e = 0;/ shows it works without being an enum.
Even doing:
s/E e = One;/E e{};/ allows this to work.
