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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93107
             Status|UNCONFIRMED                 |NEW
                 CC|                            |ppalka at gcc dot gnu.org
   Last reconfirmed|                            |2022-07-06
     Ever confirmed|0                           |1

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Confirmed, not a regression.  Reduced:

#include <initializer_list>

template<class T>
struct vector {
  vector(std::initializer_list<T>);
};

template<class T> void f();

vector v = {f<int>};


Seems similar to PR93107 but using CTAD instead of ordinary auto deduction.

Reply via email to