https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96193
Bug ID: 96193 Summary: No ADL for hidden friend in call with explicit template arguments Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: johelegp at gmail dot com Target Milestone: --- See https://godbolt.org/z/qhEfGd. ```C++ struct B { template <class U> friend void f(B) { } }; void g() { f<int>(B{}); } ```