9 struct B : A { int i; }; // { dg-message "user-provided default constructor" }
11 struct C : A { int i; }; // { dg-message "user-provided default constructor" }
13 struct D : B { D() {} };
15 struct E { int i; }; // { dg-message "user-provided default constructor" }
18 struct F : A { T t; }; // { dg-message "user-provided default constructor" }
21 struct G { T t; }; // { dg-message "user-provided default constructor" }
25 B const b; // { dg-error "uninitialized const" }
28 C const c[ 1 ]; // { dg-error "uninitialized const" }
29 extern C const cext[ 1 ];
34 E const e; // { dg-error "uninitialized const" }
37 F<int> const f; // { dg-error "uninitialized const" }
38 extern F<int> const fext;
40 G<int> const g; // { dg-error "uninitialized const" }
41 extern G<int> const gext;
44 struct H { int i; }; // { dg-message "user-provided default constructor" }
46 struct I : A { int i; }; // { dg-message "user-provided default constructor" }
51 T const t; // { dg-error "uninitialized const" }
55 template void g<H> ();
56 template void g<I> ();