1 // PR c++/70972
2 // { dg-do compile { target c++11 } }
3 
4 struct moveonly {
5     moveonly(moveonly&&) = default;
6     moveonly() = default;
7 };
8 
9 struct A {
AA10     A(moveonly) {}
11 };
12 struct B : A {
13     using A::A;
14 };
15 
16 B b(moveonly{});
17