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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
GCC's diagnostic is imprecise; the problem here is that the later declaration
of the member 'B' changes the meaning of the earlier 'class B'. This is
ill-formed, but no diagnostic is required, so clang's behavior is conforming.

*** This bug has been marked as a duplicate of bug 15559 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to