2 // { dg-do compile { target { ! c++11 } } }
6 int const v_; // { dg-message "should be initialized" }
13 int& ref; // { dg-message "should be initialized" }
20 D d; // { dg-error "uninitialized" }
21 new D; // { dg-error "uninitialized" }
25 C c; // { dg-error "uninitialized" }
26 new C; // { dg-error "uninitialized" }
27 C(); // { dg-error "value-initialization" }
28 new C(); // { dg-error "value-initialization" }