gcc/libstdc++-v3/testsuite
Jonathan Wakely 52b769437a libstdc++: Fix test that fails in C++20 mode
This test was written to verify that the LWG 3265 changes work. But
those changes were superseded by LWG 3435, and the test is now incorrect
according to the current draft. The assignment operator is now
constrained to also require convertibility, which makes the test fail.

Change the Iter type to be convertible from int*, but make it throw an
exception if that conversion is used. Change the test from compile-only
to run, so we verify that the exception isn't thrown.

libstdc++-v3/ChangeLog:

	* testsuite/24_iterators/move_iterator/dr3265.cc: Fix test to
	account for LWG 3435 resolution.
2021-11-26 22:56:51 +00:00
..
17_intro libstdc++: Fix test for libstdc++ not including <unistd.h> [PR100117] 2021-11-10 12:03:29 +00:00
18_support libstdc++: Add effective-target for std::allocator implementation 2021-11-23 21:23:24 +00:00
19_diagnostics libstdc++: Avoid unconditional use of errc::not_supported [PR 99327] 2021-10-01 20:34:50 +01:00
20_util libstdc++: Move std::to_address tests to more appropriate place 2021-11-26 12:38:35 +00:00
21_strings libstdc++: Remove redundant xfail selectors in dg-do compile tests 2021-11-26 15:11:58 +00:00
22_locale libstdc++: Remove unnecessary uses of _GLIBCXX_USE_WCHAR_T in testsuite [PR98725] 2021-10-09 00:57:50 +01:00
23_containers libstdc++: Fix dg-do directive for tests supposed to be run 2021-11-26 15:11:58 +00:00
24_iterators libstdc++: Fix test that fails in C++20 mode 2021-11-26 22:56:51 +00:00
25_algorithms libstdc++: Remove redundant xfail selectors in dg-do compile tests 2021-11-26 15:11:58 +00:00
26_numerics libstdc++: Replace hyphens in effective target keywords 2021-11-24 13:20:26 +00:00
27_io libstdc++: Fix dg-do directive for tests supposed to be run 2021-11-26 15:11:58 +00:00
28_regex libstdc++: Replace hyphens in effective target keywords 2021-11-24 13:20:26 +00:00
29_atomics libstdc++: Ensure dg-add-options comes after dg-options 2021-11-26 15:11:58 +00:00
30_threads libstdc++: Make std::jthread support pointers to member functions [PR 100612] 2021-10-01 20:36:55 +01:00
abi Update copyright years. 2021-01-04 10:26:59 +01:00
backward Update copyright years. 2021-01-04 10:26:59 +01:00
config Update copyright years. 2021-01-04 10:26:59 +01:00
data
decimal Update copyright years. 2021-01-04 10:26:59 +01:00
experimental libstdc++: Replace hyphens in effective target keywords 2021-11-24 13:20:26 +00:00
ext libstdc++: Add effective-target for std::allocator implementation 2021-11-23 21:23:24 +00:00
lib libstdc++: Replace hyphens in effective target keywords 2021-11-24 13:20:26 +00:00
libstdc++-abi Update copyright years. 2021-01-04 10:26:59 +01:00
libstdc++-dg libstdc++: Add std::experimental::simd from the Parallelism TS 2 2021-01-27 16:37:26 +00:00
libstdc++-prettyprinters libstdc++: Add xfail to some printer tests for debug mode 2021-11-24 13:20:26 +00:00
libstdc++-xmethods Update copyright years. 2021-01-04 10:26:59 +01:00
performance Update copyright years. 2021-01-04 10:26:59 +01:00
special_functions Update copyright years. 2021-01-04 10:26:59 +01:00
std libstdc++: Implement P2432R1 changes for views::istream 2021-10-21 11:55:19 -04:00
tr1 libstdc++: Remove unnecessary uses of _GLIBCXX_USE_WCHAR_T in testsuite [PR98725] 2021-10-09 00:57:50 +01:00
tr2 Update copyright years. 2021-01-04 10:26:59 +01:00
util libstdc++: Fix std::type_info::before for ARM [PR103240] 2021-11-17 17:21:24 +00:00
Makefile.am libstdc++: Remove -fno-tree-vrp after PR98834 was resolved 2021-06-23 18:28:59 +01:00
Makefile.in libstdc++: Remove -fno-tree-vrp after PR98834 was resolved 2021-06-23 18:28:59 +01:00