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

2016-07-30 Thread claas.bontus at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72756 --- Comment #2 from Claas --- No. See the live demo at http://coliru.stacked-crooked.com/a/79f0d052864fec19

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

2016-07-29 Thread claas.bontus at web dot de
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: claas.bontus at web dot de Target Milestone: --- This is a follow up from discussion at http://stackoverflow.com/q/38398475/3876684 The following should not compile, since