PR libstdc++/83450 avoid -Wreturn-type warning in test
authorJonathan Wakely <jwakely@redhat.com>
Sun, 24 Dec 2017 09:17:38 +0000 (09:17 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 24 Dec 2017 09:17:38 +0000 (09:17 +0000)
PR libstdc++/83450
* testsuite/21_strings/basic_string/pthread18185.cc: Add return
statement.

From-SVN: r255992

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc

index f06edc1c5bc53647adc48698aad3f8404bfe4eef..c94e77169a27533fbebdcc822d421d6ab9bc3d54 100644 (file)
@@ -1,3 +1,9 @@
+2017-12-24  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/83450
+       * testsuite/21_strings/basic_string/pthread18185.cc: Add return
+       statement.
+
 2017-12-20  François Dumont  <fdumont@gcc.gnu.org>
 
        PR libstdc++/82522
index fb3d43de528723c6b0f4726b27bf0d1cb9115ebb..b6649178a0a396710373b50290a3b097ed13368a 100644 (file)
@@ -38,6 +38,7 @@ foo (void*)
     {
       pthread_exit (0);
     }
+  return 0; // See libstdc++/83450
 }
 
 // c++/18185