2 // global and local multidimensional array objects are not getting
3 // constructors called on any dimension, other than the first. Also,
4 // the destructors are not being called. Seems odd, they probably
8 extern "C" int printf (const char *, ...);
12 void print (int i, int j) { printf ("foo[%d][%d] = %d\n", i, j, x); }
16 printf("this %d = %x\n", x, (void *)this);
19 printf("this %d = %x\n", x, (void *)this);
30 for (int i = 0; i < 3; i++)
32 for (int j = 0; j < 3; j++)
34 printf("&a[%d][%d] = %x\n", i, j, (void *)&array[i][j]);
37 // The count should be nine, if not, fail the test.