blob: f47b2a4dc2fcc863eb1f708d087ffc38868de077 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options -fnew-inheriting-ctors }
class A
{
A(int);
friend void f();
};
struct B: A
{
using A::A;
};
void f()
{
B b(42);
}