// Build don't link: // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 7 Sep 2000 // Bug 512. Conversion operator functions in template_id's were always // being looked up in global scope. class C { public: template void f () {} template operator int () { return 0; } }; template void C::f (); template C::operator int (); template C::operator int (); typedef int (C::* ptrmem_t) (); template void foo () { } template void foo<&C::operator int, &C::operator int > ();