blob: ba6849f03496c68ba891bdc3bfcd2dec9bcffb70 [file] [log] [blame]
// PR c++/56285
// { dg-do compile { target c++11 } }
struct foo {
explicit foo(int&&) {}
};
struct bar: private foo {
using foo::foo;
};
int main()
{
bar b { 42 };
}