// PR c++/100465 namespace N { struct string { template void operator+=(T); }; struct A { void operator+=(char); // #1 template void f() { string s; s += T(); } void g() { f(); } }; } // namespace N template void operator+=(N::string, T);