diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-06-16 09:13:37 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-06-16 09:13:37 +0100 |
commit | 6ec3c9c841aea8b492aa2fc0db5d3c734b643725 (patch) | |
tree | e14d7f0358d355c68981d6cc13f337536e08e47e /libstdc++-v3/testsuite/27_io/basic_istream | |
parent | 32e37414af3e1e236a2c7400c9d7178ede77ce4d (diff) | |
download | gcc-6ec3c9c841aea8b492aa2fc0db5d3c734b643725.zip gcc-6ec3c9c841aea8b492aa2fc0db5d3c734b643725.tar.gz gcc-6ec3c9c841aea8b492aa2fc0db5d3c734b643725.tar.bz2 |
Fix missing returns in libstdc++ header and tests
* include/bits/locale_conv.h (wbuffer_convert::_M_put): Add missing
return statement.
* testsuite/21_strings/basic_string_view/operations/copy/char/1.cc:
Return void.
* testsuite/21_strings/basic_string_view/operations/copy/wchar_t/1.cc:
Likewise.
* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc: Add
missing return statements.
* testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Return void.
* testsuite/special_functions/14_expint/pr68397.cc: Likewise.
From-SVN: r249238
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_istream')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc index 24cd2f5..7e3b773 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc @@ -50,7 +50,7 @@ void test12_aux(bool integer_type) VERIFY(is.fail()); } -bool test12() +void test12() { test12_aux<short>(true); test12_aux<int>(true); |