gcc/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos
Paolo Carlini bcf0248a99 re PR libstdc++/29354 (Error when seeking on an ostringstream)
2006-10-06  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29354
	* include/bits/sstream.tcc (basic_stringbuf<>::seekpos(pos_type,
	ios_base::openmode)): Allow for seek to pos_type(off_type(0))
	when the stream is empty.
	* testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: New.
	* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: New.

From-SVN: r117494
2006-10-06 09:57:43 +00:00
..
char re PR libstdc++/29354 (Error when seeking on an ostringstream) 2006-10-06 09:57:43 +00:00
wchar_t re PR libstdc++/29354 (Error when seeking on an ostringstream) 2006-10-06 09:57:43 +00:00