blob: 0e8520745a966b21c8e2364501c25b4fe4fcb2da [file] [log] [blame]
// { dg-do link { target c++11 } }
// { dg-options -fnew-inheriting-ctors }
struct A
{
A() { }
A(const A&); // should never be called
};
struct B
{
B(A) { }
};
struct C: B
{
using B::B;
};
int main()
{
C c{A()};
}