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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-08-11
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
clang produces:
<source>:12:33: error: no matching function for call to 'f'
void h(A<fptype, fptype> *ap) { f(ap, func, g); }
                                ^
<source>:10:30: note: candidate template ignored: deduced conflicting types for
parameter 'T' (<void (*)(), void (*)()> vs. <Func, (no value)>)
template<typename ...T> void f(A<T ...> *ap, T ...b);
                             ^

Reply via email to