[Bug c++/79766] inline namespace and ::

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 2 01:20:00 GMT 2017


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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |accepts-invalid

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Looking at [7.3.1]/7 I think the use of 'Y::Q' to define Y::X::Q is ill-formed.
 Naming 'Q' in 'Y' for its definition is not one of the permitted uses.


More information about the Gcc-bugs mailing list