https://llvm.org/bugs/show_bug.cgi?id=24264

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
[basic.scope.hiding]p2 only applies in the case where the tag name and the
other name are "declared in the same scope". In this case, struct x is declared
in the scope of namespace N, and int x is declared in global scope, so it does
not apply and the lookup is ambiguous.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to