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

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-l...@metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
[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
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to