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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-10-14
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to jim x from comment #0)
> GCC accept this example

Well, it does if you include a definition of std::nullptr_t

typedef decltype(nullptr) nullptr_t;
nullptr_t v = (int)0;

Not a regression, this has been accepted since 4.6.4

Reply via email to