public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id
       [not found] <bug-84026-4@http.gcc.gnu.org/bugzilla/>
@ 2020-08-26  9:58 ` redi at gcc dot gnu.org
  2020-08-26  9:58 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2020-08-26  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=83132
   Last reconfirmed|2018-01-25 00:00:00         |2020-8-26

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
PR 83132 is related.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id
       [not found] <bug-84026-4@http.gcc.gnu.org/bugzilla/>
  2020-08-26  9:58 ` [Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id redi at gcc dot gnu.org
@ 2020-08-26  9:58 ` redi at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2020-08-26  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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 {}; // Not OK

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-26  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-84026-4@http.gcc.gnu.org/bugzilla/>
2020-08-26  9:58 ` [Bug c++/84026] invalid 'unnamed scoped enum is not allowed' when scoped enum has a full qualified-id redi at gcc dot gnu.org
2020-08-26  9:58 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).