Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / friend25.C
blobfa11defc21ae941904d2774c9fd5db15f58225b1
1 // { dg-do compile }
3 // Origin: Jiangbin Zhao <zhaojiangbin@yahoo.com>
5 // PR c++/12369: ICE for specialization of member function template
6 // as friend in ordinary class.
8 struct A {
9     template<class T> T* make() { return new T(); }
12 struct B {
13     friend B* A::make< B >(); // (1)