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

--- Comment #1 from Olivier Kannengieser <okannen at gmail dot com> ---
Actualy it is a bug that happens during the selection of the best viable
function:

template <class...Ts>
void
func (auto...);

void
func (auto...);

void g(){
   func (10); // this should not compile
}

According to clang the call `func(10)` is ambiguous.

But GCC select fun<,int>. This is precisely what it does for the deduction
guide.

Reply via email to