cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2002 08:47:31 +0000 (08:47 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2002 08:47:31 +0000 (08:47 +0000)
commit40590b101fea3438b1b369ff52dd37e50e956f0b
tree0aab6258047fd6e01573703d7638d8a5955f1161
parent35814f91d77e0c101545d6c97765a543f4287c39
cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52888 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/effc1.C [new file with mode: 0644]