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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-03-30
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That wording was clarified by CWG 373:

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#373

The issue says that G++ compiles the following:

namespace X {
  namespace Y {
    struct X {
      void f()
      {
        using namespace X::Y;
        namespace Z = X::Y;
      }
    };
  }
}

However, I can't find any version of G++ that accepts it!

Reply via email to