istream_sentry.cc (test02): Fix.

2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/27_io/istream_sentry.cc (test02): Fix.

From-SVN: r39089
This commit is contained in:
Peter Schmid 2001-01-17 08:30:25 +00:00 committed by Benjamin Kosnik
parent ed8cc5fdf8
commit 86b4d21106
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/27_io/istream_sentry.cc (test02): Fix.
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/1605

View File

@ -73,6 +73,8 @@ test02()
while(in >> x)
{
++i;
if (i > 3)
break;
}
VERIFY( i == 3 );
}