blob: f33056df49376dfe0100e7fc6df00f525786fa7f [file] [log] [blame]
// PR c++/70972
// { dg-do compile { target c++11 } }
struct moveonly {
moveonly(moveonly&&) = default;
moveonly() = default;
};
struct A {
A(moveonly) {}
};
struct B : A {
using A::A;
};
B b(moveonly{});