Fix invalid path::iterator test

* testsuite/experimental/filesystem/path/itr/traversal.cc: Do not
	increment past-the-end iterators.

From-SVN: r253967
This commit is contained in:
Jonathan Wakely 2017-10-21 02:16:43 +01:00 committed by Jonathan Wakely
parent f154c1fafc
commit dfdf2839b5
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2017-10-21 Jonathan Wakely <jwakely@redhat.com>
* testsuite/experimental/filesystem/path/itr/traversal.cc: Do not
increment past-the-end iterators.
2017-10-20 Jonathan Wakely <jwakely@redhat.com>
* include/std/chrono (__cpp_lib_chrono): Update macro value to

View File

@ -90,10 +90,9 @@ test03()
++iter;
iter2++;
VERIFY( iter2 == iter );
auto iter3 = iter;
--iter3;
--iter;
iter2--;
VERIFY( iter2 == iter3 );
VERIFY( iter2 == iter );
}
}