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
This commit is contained in:
Jonathan Wakely 2017-12-24 09:17:38 +00:00 committed by Jonathan Wakely
parent 386784c254
commit 4f9621392f
2 changed files with 7 additions and 0 deletions

View 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

View File

@ -38,6 +38,7 @@ foo (void*)
{
pthread_exit (0);
}
return 0; // See libstdc++/83450
}
// c++/18185