gcc/libstdc++-v3/testsuite/21_strings
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
..
basic_string PR libstdc++/79162 Fix std::string regression due to LWG 2946 2017-09-20 18:59:50 +01:00
basic_string_view Add [[nodiscard]] attribute to C++17 components 2017-11-23 22:11:21 +00:00
c_strings
char_traits/requirements invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
debug
headers libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00