From: Jonathan Wakely Date: Sun, 24 Dec 2017 09:17:38 +0000 (+0000) Subject: PR libstdc++/83450 avoid -Wreturn-type warning in test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f9621392f941937b5dca01eacfb3ba81b955476;p=gcc.git PR libstdc++/83450 avoid -Wreturn-type warning in test PR libstdc++/83450 * testsuite/21_strings/basic_string/pthread18185.cc: Add return statement. From-SVN: r255992 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f06edc1c5bc..c94e77169a2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-12-24 Jonathan Wakely + + PR libstdc++/83450 + * testsuite/21_strings/basic_string/pthread18185.cc: Add return + statement. + 2017-12-20 François Dumont PR libstdc++/82522 diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc b/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc index fb3d43de528..b6649178a0a 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc @@ -38,6 +38,7 @@ foo (void*) { pthread_exit (0); } + return 0; // See libstdc++/83450 } // c++/18185