gcc/libstdc++-v3/testsuite
Jonathan Wakely 866e4d3853 PR libstdc++/48101 improve errors for invalid container specializations
PR libstdc++/48101
	* include/bits/allocator.h (allocator<const _Tp>)
	(allocator<volatile _Tp>, allocator<const volatile _Tp>): Add partial
	specializations.
	* include/bits/forward_list.h (forward_list): Add static assertions.
	* include/bits/hashtable.h (__cache_default): Use
	__is_nothrow_invocable instead of __is_noexcept_hash.
	(_Hashtable): Add static assertions.
	* include/bits/hashtable_policy.h (__is_noexcept_hash): Remove.
	* include/bits/stl_deque.h (deque): Add static assertions.
	* include/bits/stl_function.h (_Identity<const _Tp>): Add partial
	specialization.
	* include/bits/stl_list.h (list): Add static assertions.
	* include/bits/stl_map.h (map): Likewise.
	* include/bits/stl_multimap.h (multimap): Likewise.
	* include/bits/stl_multiset.h (multiset): Likewise.
	* include/bits/stl_set.h (set): Likewise.
	* include/bits/stl_tree.h (_Rb_tree): Likewise.
	* include/bits/stl_vector.h (vector): Likewise.
	* include/bits/unordered_map.h (unordered_map, unordered_multimap):
	Use typename instead of class in template-parameter-list and remove
	spaces.
	* include/bits/unordered_set.h (unordered_set, unordered_multiset):
	Likewise.
	* testsuite/23_containers/deque/48101-2_neg.cc: New test.
	* testsuite/23_containers/deque/48101_neg.cc: New test.
	* testsuite/23_containers/forward_list/48101-2_neg.cc: New test.
	* testsuite/23_containers/forward_list/48101_neg.cc: New test.
	* testsuite/23_containers/list/48101-2_neg.cc: New test.
	* testsuite/23_containers/list/48101_neg.cc: New test.
	* testsuite/23_containers/map/48101-2_neg.cc: New test.
	* testsuite/23_containers/map/48101_neg.cc: New test.
	* testsuite/23_containers/map/operations/31440.cc: Fix comparison
	object to have const-qualified call operator.
	* testsuite/23_containers/multimap/48101-2_neg.cc: New test.
	* testsuite/23_containers/multimap/48101_neg.cc: New test.
	* testsuite/23_containers/multiset/48101-2_neg.cc: New test.
	* testsuite/23_containers/multiset/48101_neg.cc: New test.
	* testsuite/23_containers/set/48101-2_neg.cc: New test.
	* testsuite/23_containers/set/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_map/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_map/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_multimap/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_multimap/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_multiset/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_multiset/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_set/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_set/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
	dg-error line number.
	* testsuite/23_containers/vector/48101-2_neg.cc: New test.
	* testsuite/23_containers/vector/48101_neg.cc: New test.

From-SVN: r255035
2017-11-21 20:47:09 +00:00
..
17_intro re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors)) 2017-08-20 18:52:59 +00:00
18_support libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00
19_diagnostics
20_util deduction.cc: Avoid -Wreturn-type warnings. 2017-11-06 12:55:35 +00:00
21_strings libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00
22_locale streambuf_iterator.h (istreambuf_iterator<>): Declare std::advance for istreambuf_iterator of char types to be friend. 2017-11-20 22:30:28 +00:00
23_containers PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
24_iterators streambuf_iterator.h (istreambuf_iterator<>): Declare std::advance for istreambuf_iterator of char types to be friend. 2017-11-20 22:30:28 +00:00
25_algorithms streambuf_iterator.h (istreambuf_iterator<>): Declare std::advance for istreambuf_iterator of char types to be friend. 2017-11-20 22:30:28 +00:00
26_numerics Implement LWG 2733 and LWG 2759 2017-11-14 20:11:33 +02:00
27_io PR libstdc++/83025 fix constraints for path overloads in <fstream> 2017-11-17 14:07:58 +00:00
28_regex PR libstdc++/71500 restore C++11 compatibility in <regex> 2017-09-19 18:06:12 +01:00
29_atomics
30_threads 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
abi Include missing header for std::free 2017-07-10 19:43:02 +01:00
backward
config
data
decimal Use __LONG_LONG_MAX__ instead of LONG_LONG_MAX in test 2017-10-19 14:56:55 +01:00
experimental Minor improvements to Filesystem tests 2017-11-15 18:22:43 +00:00
ext PR libstdc++/pr66689 - comp_ellint_3 and ellint_3 return garbage values 2017-11-19 01:01:50 +00:00
lib libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters tr1.cc: Compile with -O0. 2017-11-06 21:15:48 +00:00
libstdc++-xmethods
performance PR libstdc++/81476 Optimise vector insertion from input iterators 2017-07-19 20:32:15 +01:00
special_functions Fix failing tests caused by duplicate dg-options 2017-11-20 21:48:31 +00:00
tr1 Fix failing tests caused by duplicate dg-options 2017-11-20 21:48:31 +00:00
tr2
util Minor tweak to libstdc++ testsuite helper type 2017-11-11 00:10:07 +00:00
Makefile.am
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00