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

Nathaniel Shead <nathanieloshead at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathanieloshead at gmail dot 
com

--- Comment #2 from Nathaniel Shead <nathanieloshead at gmail dot com> ---
This behaviour should be as expected right? The 'using' is trying to bring both
names into the same scope (the global namespace), irrespective of the fact that
we're also exporting that new declaration. (That is, removing the 'export'
keywords from this test case gives the exact some result.)

That said, perhaps it would be helpful for the error message to point to the
using-declaration it actually conflicts with, rather than the definition that
said using-declaration points to.

Reply via email to