[LLVMbugs] [Bug 24033] Redeclaration inconsistency between struct and int

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 5 21:45:31 PDT 2015


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Fixed in r241428:

<stdin>:7:5: error: declaration conflicts with target of using declaration
already in scope
    struct i {};
    ^
<stdin>:2:12: note: target of using declaration
    struct i {};
           ^
<stdin>:6:14: note: using declaration
    using X::i;
             ^

-- and --

<stdin>:7:9: error: declaration conflicts with target of using declaration
already in scope
    int i;
        ^
<stdin>:2:9: note: target of using declaration
    int i;
        ^
<stdin>:6:14: note: using declaration
    using X::i;
             ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150706/c9e5e8d7/attachment.html>


More information about the llvm-bugs mailing list