1 // Test that a base with only a move constructor causes the implicit copy
2 // constructor to be deleted.
3 // { dg-do compile { target c++11 } }
5 struct A // { dg-message "declares a move" }
11 struct B: A // { dg-error "use of deleted" }
18 B b2(b1); // { dg-error "deleted function .B::B.const" }
19 B b3(static_cast<B&&>(b1));