// Build don't link: // Origin: Jason Merrill // Special g++ Options: -Wno-non-template-friend template struct A { friend void f (); }; A a; A b;