diff options
author | Marek Polacek <polacek@redhat.com> | 2024-02-15 14:58:31 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-02-16 15:50:51 -0500 |
commit | 40b8d7b73ad2ce498758c1d9bd38ebdbc26b918b (patch) | |
tree | a0cd2e5c837ab84d8604b5ba540cd255b6b63739 /libcpp | |
parent | c74131e77f1a6b7afe700d3526a8992dc9744b0c (diff) | |
download | gcc-40b8d7b73ad2ce498758c1d9bd38ebdbc26b918b.zip gcc-40b8d7b73ad2ce498758c1d9bd38ebdbc26b918b.tar.gz gcc-40b8d7b73ad2ce498758c1d9bd38ebdbc26b918b.tar.bz2 |
c++: wrong looser exception spec with deleted fn
I noticed we don't implement the "unless the overriding function is
defined as deleted" wording added to [except.spec] via CWG 1351.
DR 1351
gcc/cp/ChangeLog:
* search.cc (maybe_check_overriding_exception_spec): Don't error about
a looser exception specification if the overrider is deleted.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/noexcept82.C: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions