From 4f9621392f941937b5dca01eacfb3ba81b955476 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 24 Dec 2017 09:17:38 +0000 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 6 ++++++ .../testsuite/21_strings/basic_string/pthread18185.cc | 1 + 2 files changed, 7 insertions(+) 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 -- 2.30.2