[Bug c++/72756] Using an enum as a constant expression via dot operator should not compile.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 29 22:25:00 GMT 2016


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I suspect it is rejected at instantation time rather than definition time.


More information about the Gcc-bugs mailing list