Commit 4f962139 by Jonathan Wakely Committed by Jonathan Wakely

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
parent 386784c2
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> 2017-12-20 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/82522 PR libstdc++/82522
......
...@@ -38,6 +38,7 @@ foo (void*) ...@@ -38,6 +38,7 @@ foo (void*)
{ {
pthread_exit (0); pthread_exit (0);
} }
return 0; // See libstdc++/83450
} }
// c++/18185 // c++/18185
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment