* typeck.c (check_return_expr): Avoid redundant error.
authorJason Merrill <jason@redhat.com>
Mon, 4 Nov 2019 22:34:59 +0000 (17:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 4 Nov 2019 22:34:59 +0000 (17:34 -0500)
commit1dee89967b74196012a4b177fed0ccce3a520706
treeca4e155e2ac8cbc603680bd059bce3bfeae5de00
parent955cd057454b323419e06affa7df7d59dc3cd1fb
* typeck.c (check_return_expr): Avoid redundant error.

From-SVN: r277798
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/other/return2.C [new file with mode: 0644]