[Bug c++/106357] [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 19 16:55:27 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> I think the testcase is invalid as the enum does not have "fixed underlying
> type"

Scoped enums always have a fixed underlying type.


More information about the Gcc-bugs mailing list