blob: 646087630017feede397fa3b4d591dea1a3b2970 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-Wno-non-template-friend" }
// Origin: Jason Merrill <jason@cygnus.com>
template<class T> struct A
{
friend void f ();
};
A<short> a;
A<int> b;