blob: 81c6266a795a599ae9c8c03bec9364837532b912 [file] [log] [blame]
// PR c++/93905
// { dg-do compile { target c++11 } }
enum class E { VALUE };
struct B {
E e{E::VALUE};
protected:
~B () = default;
};
struct D : B {};
int
main ()
{
D d{};
}