mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-03 17:44:01 +08:00
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:
parent
f154c1fafc
commit
dfdf2839b5
@ -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
|
||||
|
@ -90,10 +90,9 @@ test03()
|
||||
++iter;
|
||||
iter2++;
|
||||
VERIFY( iter2 == iter );
|
||||
auto iter3 = iter;
|
||||
--iter3;
|
||||
--iter;
|
||||
iter2--;
|
||||
VERIFY( iter2 == iter3 );
|
||||
VERIFY( iter2 == iter );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user