[Bug c++/90137] Using declaration (constructor inheritance) prevents overriding

2019-04-18 Thread kshegunov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90137 --- Comment #2 from Konstantin Shegunov --- Yes, this is the error I get. What should happen instead is that compilation succeeds. Having the following as declaration in using.h: class DerivedPrivate; class Derived final : public Base { public:

[Bug c++/90137] New: Using declaration (constructor inheritance) prevents overriding

2019-04-18 Thread kshegunov at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kshegunov at gmail dot com Target Milestone: --- Created attachment 46193 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46193&action=edit A complete source code to reproduce