[llvm-bugs] [Bug 42339] Redefined classes are allowed
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jun 21 11:38:36 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42339
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Richard Smith <richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190621/0d00f4bd/attachment.html>
More information about the llvm-bugs
mailing list