blob: 9febac304e196074907244db4c2f5f73484a4adf [file] [log] [blame]
// PR c++/71774
// { dg-do compile { target c++11 } }
class Meow
{
protected:
Meow() =default;
virtual void f() {}
};
class Purr : public Meow
{
public:
Purr()
: Meow{}
{}
};