aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-10-31 09:39:48 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-10-31 09:39:48 +0000
commit164abd6786e5ddab0c3a4a0a9a6cdc67f84b1a17 (patch)
tree5c1f4a96d5ae2adbfd3454fb751c276b64500370 /gcc/tree.c
parent83f58fe3ad862955b16e6a2f14ad69a1e82dd3ed (diff)
downloadgcc-164abd6786e5ddab0c3a4a0a9a6cdc67f84b1a17.zip
gcc-164abd6786e5ddab0c3a4a0a9a6cdc67f84b1a17.tar.gz
gcc-164abd6786e5ddab0c3a4a0a9a6cdc67f84b1a17.tar.bz2
Check precondition for std::ssize(const Container&)
This precondition is the subject of a national body comment on the C++20 CD. This just adds a test to ensure we enforce the precondition. Also move existing 24_iterator/range_access*.cc tests to a dedicated directory for the [iterator.range] subclause. * testsuite/24_iterators/range_access*.cc: Move to ... * testsuite/24_iterators/range_access/range_access*.cc: ... here. * testsuite/24_iterators/range_access/range_access_cpp20_neg.cc: New test. From-SVN: r277658
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions