Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / friend29.C
blob95cbb0e6a2656341d3ac68be86f745395d6fa99e
1 // { dg-do assemble  }
3 template <class T> class a;
5 template <class T> void foo( a<T>& thea );
7 template <class T> class a {
8 public:
9         friend void foo<>( a<T>& thea );
10 private:
11         T amember;
14 template <class T> void foo( a<T>& thea )
16         thea.amember = 0;
19 template class a<int>;