3 // Copyright (C) 2003 Free Software Foundation
4 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
6 // Member template function of member class template as friend
8 template <class T> struct A {
9 template <class U> struct B {
10 template <class V> void f(V);
16 template <class T> template <class U> template <class V>
17 friend void A<T>::B<U>::f(V);
20 template <class T> template <class U> template <class V>