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.
This commit is contained in:
Jonathan Wakely 2021-01-18 12:44:27 +00:00
parent 2e43880dbd
commit a81d2f1e41

View file

@ -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