// PR c++/96106 // { dg-do compile { target concepts } } template struct number { friend void add(auto); }; void add(auto) { } void foo() { number n; add(n); // { dg-bogus "ambiguous" } }