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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2019-10-15 00:00:00         |2024-4-6

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Without the concept on the auto line GCC correctly rejects it:
```
<source>:3:1: error: inconsistent deduction for 'auto': 'int' and then
'std::nullptr_t'
    3 | auto v1 = 1, v2 = nullptr;  // Ill-formed.
      | ^~~~
```

Reply via email to