blob: 50d6024415067a181ab0a61ef9d6a38ac56d4be8 [file] [log] [blame]
template <class T>
struct X {
template <class U> void operator+=(U);
template <class V>
template <class U>
friend void X<V>::operator+=(U);
};
int main() {
X<int>() += 1.0;
}