]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/template/friend17.C
decl2.c (arg_assoc_class): Correct check for namespace-scope friends.
[gcc.git] / gcc / testsuite / g++.dg / template / friend17.C
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 };
9
10 int main() {
11 X<int>() += 1.0;
12 }
This page took 0.034182 seconds and 5 git commands to generate.