gcc/libstdc++-v3/testsuite/experimental
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
..
algorithm Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
any Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
array Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
chrono Adjust testcases for C++17 compatibility 2016-08-17 14:39:05 +01:00
deque Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
filesystem Check for overflow in filesystem::last_write_time 2016-09-28 19:02:25 +01:00
forward_list Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
functional Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
iterator Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
list Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
map Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
memory Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
memory_resource Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
numeric Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
optional Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
propagate_const Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
random Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
ratio Adjust testcases for C++17 compatibility 2016-08-17 14:39:05 +01:00
set Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
string Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
string_view Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
system_error Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
tuple Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
type_erased_allocator Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
type_traits Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
unordered_map Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
unordered_set Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
vector Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
feat-cxx14.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
feat-lib-fund.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00