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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |rejects-valid
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-09-17

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
template<class> struct l {};

template <class t>
struct mm {
    using type = t;
};

template <class t>
class myclass {
    template <class... type>
    // error: parameter packs not expanded with '...':
    l<typename mm<t>::type> try_push(type&&... k);
};
```

Somehow GCC is getting confused between type and m<t>::type.

Reply via email to