gcc/libstdc++-v3/testsuite/util
Jonathan Wakely fd5effb17e Check for overflow in filesystem::last_write_time
* include/experimental/bits/fs_fwd.h (file_time_type): Simplify
	definition.
	* src/filesystem/ops.cc (file_time): Take error_code parameter and
	check for overflow.
	(do_copy_file, last_write_time): Pass error_code in file_time calls.
	* testsuite/experimental/filesystem/operations/last_write_time.cc:
	New.
	* testsuite/util/testsuite_fs.h (scoped_file): Define RAII helper.

From-SVN: r240587
2016-09-28 19:02:25 +01:00
..
common_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
debug Fix testsuite to not increment bool 2016-09-15 11:18:38 +01:00
exception Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
hash_fn Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
io Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
native_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
performance Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
regression Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
statistic Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
thread Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
replacement_memory_operators.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
specfun_testcase.h Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
testsuite_abi.cc libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
testsuite_abi.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_abi_check.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_api.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_character.cc Fix out-of-bound array accesses in libstdc++ testsuite 2016-07-21 20:38:51 +01:00
testsuite_character.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_common_types.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_container_traits.h Update copyright years. 2016-01-04 15:30:50 +01:00
testsuite_containergen.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_containers.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_counter_type.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_error.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_fs.h Check for overflow in filesystem::last_write_time 2016-09-28 19:02:25 +01:00
testsuite_greedy_ops.h Update copyright years. 2016-01-04 15:30:50 +01:00
testsuite_hooks.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_hooks.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_io.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_iterators.h libstdc++/71545 fix debug checks in binary search algorithms 2016-06-17 19:28:34 +01:00
testsuite_new_operators.h Define missing delete operators in libstdc++ testsuite 2016-07-21 20:38:57 +01:00
testsuite_performance.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_random.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_regex.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rng.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rvalref.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_shared.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_tr1.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00