1 // Test that the default B copy constructor calls the deleted A
3 // { dg-do compile { target c++11 } }
5 struct A // { dg-message "declares a move" }
10 A(const T& t) { t.i; }
13 struct B: A { }; // { dg-error "implicitly|use of deleted" }
18 B b2(b); // { dg-error "deleted" }