diff options
author | Marek Polacek <polacek@redhat.com> | 2019-06-14 14:49:57 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-06-14 14:49:57 +0000 |
commit | 9f119e29269b9a63f36c014b1429e96c133148b4 (patch) | |
tree | 6ce6406556c2c618431fdeb93737277392063b91 /gcc/function.c | |
parent | b27c10823418d58d70274ee3a7378e1aca21d418 (diff) | |
download | gcc-9f119e29269b9a63f36c014b1429e96c133148b4.zip gcc-9f119e29269b9a63f36c014b1429e96c133148b4.tar.gz gcc-9f119e29269b9a63f36c014b1429e96c133148b4.tar.bz2 |
PR c++/90884 - stray note with -Wctor-dtor-privacy.
* class.c (maybe_warn_about_overly_private_class): Guard the call to
inform.
* g++.dg/warn/ctor-dtor-privacy-4.C: New.
* g++.dg/warn/ctor-dtor-privacy-4.h: New.
From-SVN: r272291
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions