[Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id

2020-08-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84026 --- Comment #4 from Jonathan Wakely --- Fixed testcase (so it doesn't define S1::E1 twice): struct S1 { enum class E1; }; enum class S1::E1 {}; // OK struct S2 { enum class E2; }; enum class ::S2::E2 {}; //

[Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id

2020-08-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84026 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id

2018-01-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84026 Jonathan Wakely changed: What|Removed |Added Blocks||12944 --- Comment #2 from Jonathan

[Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id

2018-01-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84026 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid