blob: 7ce85b0af2edcbfa384d2251aeabe94b60791c66 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct B;
struct A
{
A(const B&, int = 0);
};
struct B: A
{
using A::A;
B(B&);
};
extern const B b;
B b2{b}; // { dg-error "" }