2 // Check that elements for which no explicit initializer was given are
3 // default-initialized properly.
5 extern "C" int printf (const char *, ...);
33 printf ("%d %d %d %d\n%d %d %d %d\n%d %d %d %d\n",
34 ar[0].i, ar[1].i, ar[2].i, ar[3].i,
35 b.a1.i, b.a2.i, b.a3.i, b.a4.i,
36 c.ar[1-1].i, c.ar[2-1].i, c.ar[3-1].i, c.ar[4-1].i);
38 return (b.a4.i != 42 || c.ar[3].i != 42);