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++/47277
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
ref8.C
1
struct A {
2
A operator=(const A&);
3
};
4
5
A operator*(A, A);
6
7
A& operator+=(A& a, const A& b)
8
{
9
return a = a * b; // { dg-error "non-const reference" }
10
}