gcc/libstdc++-v3/testsuite
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
..
17_intro Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
18_support Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
19_diagnostics Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
20_util Define feature macro and update C++17 library status 2016-09-27 16:39:51 +01:00
21_strings re PR libstdc++/77717 (testsuite/21_strings/basic_string_view/operations/compare/char/1.cc makes undefined memcmp call) 2016-09-26 12:46:19 +03:00
22_locale [libstdc++-v3] Fix dg-require before dg-run directives in testsuite. 2016-09-12 09:03:50 +00:00
23_containers debug.cc: Include debug/vector. 2016-09-25 20:26:02 +00:00
24_iterators Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
25_algorithms Fix dg-require before dg-run directives in testsuite. 2016-09-14 15:37:23 +02:00
26_numerics Define 3-argument overloads of std::hypot for C++17 (P0030R1) 2016-09-27 16:14:24 +01:00
27_io Fix dg-require before dg-run directives in testsuite. 2016-09-14 15:37:23 +02:00
28_regex re PR libstdc++/77356 (regex error for a ECMAScript syntax string) 2016-08-27 02:03:23 +00:00
29_atomics [libstdc++-v3] Fix dg-require before dg-run directives in testsuite. 2016-09-12 09:03:50 +00:00
30_threads Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
abi Skip C tests if test flags include C++ options 2016-08-02 14:32:26 +01:00
backward Fix __gnu_cxx::hash_set test to pass in C++98 mode 2016-08-01 13:45:47 +01:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
experimental Check for overflow in filesystem::last_write_time 2016-09-28 19:02:25 +01:00
ext Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
lib Make libstdc++ tests FAIL on Python errors 2016-09-19 16:59:04 +01:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libstdc++-prettyprinters Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
libstdc++-xmethods Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
performance Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
special_functions Only run math special function tests for C++11 and later 2016-08-02 14:32:16 +01:00
tr1 Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
tr2 Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
util Check for overflow in filesystem::last_write_time 2016-09-28 19:02:25 +01:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00