[Bug c++/103653] GCC rejected int x = 0; auto(x); in C++23

hewillk at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 25 16:05:00 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103653

康桓瑋 <hewillk at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from 康桓瑋 <hewillk at gmail dot com> ---
(In reply to 康桓瑋 from comment #1)
> Oh, should be +auto(x);

But I think auto(x) should also be well-formed.


More information about the Gcc-bugs mailing list