diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-29 16:10:08 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-29 16:10:08 +0000 |
commit | dbe1241ef3cae41f34c6b230749f0149db01c3cb (patch) | |
tree | ebaa6ad5759d2bfc191620ddfe9f9424485194f7 /gcc/testsuite/g++.old-deja | |
parent | cdc99fba5cb0607e850b270658a4eca1a0e51a52 (diff) | |
download | gcc-dbe1241ef3cae41f34c6b230749f0149db01c3cb.tar.gz |
PR c++/49508
* semantics.c (finish_return_stmt): Suppress -Wreturn-type on
erroneous return statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/report.C | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/report.C b/gcc/testsuite/g++.old-deja/g++.jason/report.C index b595662c228..e1079cfb0aa 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/report.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/report.C @@ -72,6 +72,3 @@ int darg (char X::*p) { undef3 (1); // { dg-error "" } implicit declaration } // { dg-warning "no return statement" } - -// { dg-message "warning: control reaches end of non-void function" "" { target *-*-* } 36 } -// { dg-message "warning: control reaches end of non-void function" "" { target *-*-* } 65 } |