From 86b4d211062166b91bcdc71e4788b10e4b294d82 Mon Sep 17 00:00:00 2001 From: Peter Schmid Date: Wed, 17 Jan 2001 08:30:25 +0000 Subject: [PATCH] istream_sentry.cc (test02): Fix. 2001-01-17 Peter Schmid * testsuite/27_io/istream_sentry.cc (test02): Fix. From-SVN: r39089 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/testsuite/27_io/istream_sentry.cc | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5e31c3374dd..7551392cf0e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2001-01-17 Peter Schmid + + * testsuite/27_io/istream_sentry.cc (test02): Fix. + 2001-01-16 Benjamin Kosnik libstdc++/1605 diff --git a/libstdc++-v3/testsuite/27_io/istream_sentry.cc b/libstdc++-v3/testsuite/27_io/istream_sentry.cc index cf4a1bb8099..4b5634d7078 100644 --- a/libstdc++-v3/testsuite/27_io/istream_sentry.cc +++ b/libstdc++-v3/testsuite/27_io/istream_sentry.cc @@ -73,6 +73,8 @@ test02() while(in >> x) { ++i; + if (i > 3) + break; } VERIFY( i == 3 ); }