https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86186
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to zhonghao from comment #0)
> A previous version of clang++ does not produce any error messages for the
> above code, but it was fixed in https://bugs.llvm.org/show_bug.cgi?id=20092
No, you've completely misunderstood the llvm bug report.