diff options
author | Pawel Sikora <pluto@pld-linux.org> | 2007-08-20 15:08:24 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2007-08-20 11:08:24 -0400 |
commit | 43f1474491615c9c895716ef0e2a01d0280b1ef1 (patch) | |
tree | 89dd492f0749e3baf99fc3690e6259c93197aed0 /gcc/c-decl.c | |
parent | 01a2a2f512b20d95ac7cc229662787fa0babfdf0 (diff) | |
download | gcc-43f1474491615c9c895716ef0e2a01d0280b1ef1.tar.gz |
re PR c++/7302 (-Wnon-virtual-dtor should't complain of protected dtor)
PR c++/7302
* cp/class.c (finish_struct_1): Warn when a class has virtual
functions and accessible non-virtual destructor.
* doc/invoke.texi (-Wnon-virtual-dtor): Update documentation.
* g++.dg/warn/Wnvdtor-2.C: New testcase.
From-SVN: r127649
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions