istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.

2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
	not snextc.
	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

From-SVN: r56154
This commit is contained in:
Danny Smith 2002-08-09 06:00:46 +00:00 committed by Benjamin Kosnik
parent a2554733cc
commit f45f9aedfc

View File

@ -66,8 +66,7 @@
#include <cstdlib>
#include <cstring>
#include <ctime>
//#include <testsuite_hooks.h>
#define VERIFY(x) x
#include <testsuite_hooks.h>
// Include iostream last, just to make is as difficult as possible to
// properly initialize the standard iostream objects.