From: Jonathan Wakely Date: Mon, 18 Jan 2021 12:44:27 +0000 (+0000) Subject: libstdc++: Fix narrow char test to use stringbuf not wstringbuf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a81d2f1e414836549b909f2de927b6ae10e8b156;p=gcc.git libstdc++: Fix narrow char test to use stringbuf not wstringbuf This seems to be a copy & paste error. libstdc++-v3/ChangeLog: * testsuite/27_io/basic_stringstream/cons/char/1.cc: Use stringbuf not wstringbuf. --- diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc index 31130ee5c95..7cb9f34ca04 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc @@ -107,7 +107,7 @@ test04() sstream ss3(std::string(str), std::ios::out, a); VERIFY( ss3.str() == cstr ); VERIFY( bool(ss3 << 1) ); - VERIFY( ss3.get() == std::wstringbuf::traits_type::eof() ); + VERIFY( ss3.get() == std::stringbuf::traits_type::eof() ); } int