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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2022-12-28
      Known to fail|                            |10.4.0, 11.3.0, 4.9.0,
                   |                            |5.1.0, 6.1.0, 7.1.0, 8.1.0,
                   |                            |9.5.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

For my reduced testcase, clang reports an error message:
<source>:3:16: error: cannot combine with previous 'type-name' declaration
specifier
    [=](mytype auto... I) { };
               ^
<source>:3:20: error: type 'mytype' (aka 'int') of function parameter pack does
not contain any unexpanded parameter packs
    [=](mytype auto... I) { };
        ~~~~~~~~~~~^~~~~
<source>:3:5: warning: expression result unused [-Wunused-value]
    [=](mytype auto... I) { };
    ^~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to