gcc/libstdc++-v3/testsuite/27_io/filesystem
Jonathan Wakely d69f1ec7d1 Add [[nodiscard]] attribute to C++17 components
* include/bits/fs_path.h (path::empty): Add nodiscard attribute.
	* include/bits/range_access.h (empty): Likewise.
	* include/std/string_view (basic_string_view::empty): Likewise.
	* testsuite/21_strings/basic_string_view/capacity/empty_neg.cc: New
	test.
	* testsuite/24_iterators/range_access_cpp17_neg.cc: New test.
	* testsuite/27_io/filesystem/path/query/empty_neg.cc: New test.

From-SVN: r255124
2017-11-23 22:11:21 +00:00
..
file_status Make filesystem::file_status default constructor non-explicit (LWG 2787) 2017-10-27 18:49:21 +01:00
iterators Minor improvements to Filesystem tests 2017-11-15 18:22:43 +00:00
operations Fix filesystem::path::lexically_normal algorithm 2017-10-25 13:42:53 +01:00
path Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00