Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / too-many-tmpl-args1.C
blob4d98e754639a3a85712a36baf9cf9e7d919c2415
1 // PR c++/9229
2 // Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
3 // { dg-do compile }
5 template <typename T> class A                                 // { dg-error "" }
7     struct B;
8     template <typename U> friend typename A<U,void>::B foo(); // { dg-error "" }
9 };
11 template class A<int>;