https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65291

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Actually, I got the reason wrong. Default args are inherited, but the presence
of this constructor suppresses the default ctor B():

  B(int b1, int b2) : A(b1) {}

So we don't want to add a diagnostic about inheriting default arguments.

Reply via email to