blob: 780a64dbbc429ef192d944723e327505537829d7 [file] [log] [blame]
// PR c++/82461
// { dg-do compile { target c++11 } }
class A {
private:
public:
constexpr A() {}
~A() {}
};
class B {
private:
A a;
public:
constexpr B() : a{} {}
// works
// constexpr B() : a() {}
~B() {}
};