4 struct S // { dg-message "implicitly deleted" "" { target c++11 } }
5 // { dg-error "uninitialized" "" { target c++11 } 4 }
7 int const i; // { dg-message "should be initialized" }
13 C() {} // { dg-error "uninitialized const member|deleted" }
17 struct S2 // { dg-message "implicitly deleted" "" { target c++11 } }
18 // { dg-error "uninitialized" "" { target c++11 } 17 }
20 int& ref; // { dg-message "should be initialized" }
26 C2() {} // { dg-error "uninitialized reference member|deleted" }
38 struct S4 // { dg-message "implicitly deleted" "" { target c++11 } }
39 // { dg-error "uninitialized" "" { target c++11 } 38 }
41 int const i; // { dg-message "should be initialized" }
46 C4() {} // { dg-error "uninitialized const member|deleted" }
52 C5() {} // { dg-error "uninitialized" }