blob: 95cbb0e6a2656341d3ac68be86f745395d6fa99e [file] [log] [blame]
// { dg-do assemble }
template <class T> class a;
template <class T> void foo( a<T>& thea );
template <class T> class a {
public:
friend void foo<>( a<T>& thea );
private:
T amember;
};
template <class T> void foo( a<T>& thea )
{
thea.amember = 0;
}
template class a<int>;