diff options
author | Jason Merrill <jason@redhat.com> | 2023-03-17 15:27:10 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-03-17 17:31:36 -0400 |
commit | 890043314a7f405081990ea9d0cb577dd44f883f (patch) | |
tree | 45a0f31590b7a4c253bdbe4a5501a85368965265 /gcc/cp/lambda.cc | |
parent | c48be8298c27143c1a684c0cb9689c88d16f4b49 (diff) | |
download | gcc-890043314a7f405081990ea9d0cb577dd44f883f.zip gcc-890043314a7f405081990ea9d0cb577dd44f883f.tar.gz gcc-890043314a7f405081990ea9d0cb577dd44f883f.tar.bz2 |
c++: throw and private destructor [PR109172]
Since we aren't going through the normal call machinery, we need to check
the dtor access specifically.
PR c++/109172
gcc/cp/ChangeLog:
* except.cc (build_throw): Check dtor access.
gcc/testsuite/ChangeLog:
* g++.dg/eh/dtor4.C: New test.
Diffstat (limited to 'gcc/cp/lambda.cc')
0 files changed, 0 insertions, 0 deletions