blob: a9dbc90835b662a3ee9a3d604dbbf11ca8ace842 [file] [log] [blame]
// PR c++/54325
// { dg-do compile { target c++11 } }
class Base {
public:
Base() {};
virtual ~Base() {};
virtual void do_stuff() = 0;
};
class Derived: public Base {
public:
Derived() : Base{} {};
virtual ~Derived() {};
virtual void do_stuff() {};
};
int
main() {
Derived d;
return 0;
}