OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/29363
[pf3gnuchains/gcc-fork.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
}