blob: b938d6535c781995c43b87452b2de16d44558051 [file] [log] [blame]
// PR c++/56291
// { dg-do compile { target c++11 } }
class Base
{
public:
constexpr Base() : v(1) {};
int v;
};
class Derived : public Base
{
public:
constexpr Derived() : Base() {};
virtual void function();
};
Derived d;