re PR c++/84364 (-Weffc++ warns on "return *this" in template after r253599)
PR c++/84364 * typeck.c (check_return_expr): Don't emit -Weffc++ warning about return other than *this in assignment operators if retval is type dependent expression. * g++.dg/warn/effc4.C: New test. From-SVN: r257640
Showing
gcc/testsuite/g++.dg/warn/effc4.C
0 → 100644
Please
register
or
sign in
to comment