mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-18 18:34:16 +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>
|
2017-10-20 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/std/chrono (__cpp_lib_chrono): Update macro value to
|
* include/std/chrono (__cpp_lib_chrono): Update macro value to
|
||||||
|
@ -90,10 +90,9 @@ test03()
|
|||||||
++iter;
|
++iter;
|
||||||
iter2++;
|
iter2++;
|
||||||
VERIFY( iter2 == iter );
|
VERIFY( iter2 == iter );
|
||||||
auto iter3 = iter;
|
--iter;
|
||||||
--iter3;
|
|
||||||
iter2--;
|
iter2--;
|
||||||
VERIFY( iter2 == iter3 );
|
VERIFY( iter2 == iter );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user