Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / friend34.C
blob555cf358a7dc7895a0565ca9cf2f1f2102825dce
1 // { dg-do compile }
3 // Origin: mleone@pixar.com
4 //         Wolfgang Bangerth <bangerth@ticam.utexas.edu>
6 // PR c++/9783: Forward declaration of class in template.
8 template <typename T>
9 struct C {
10   void foo (struct X *);
13 struct X {};
15 template <typename T>
16 void C<T>::foo(struct X *) {}