2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend17.C
blob50d6024415067a181ab0a61ef9d6a38ac56d4be8
1 template <class T>
2 struct X {
3   template <class U> void operator+=(U);
4   
5   template <class V>
6   template <class U>
7   friend void X<V>::operator+=(U);
8 };
10 int main() {   
11   X<int>() += 1.0;