Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / array2.C
blobfcea96714c8e879349130e603333820b7c7ba917
1 // { dg-do run  }
2 int i;
4 struct S {
5   S () {
6     ++i;
7   };
9   S (int) {
10   };
13 int main()
15   S s[3][3] = { 2 };
17   if (i != 8)
18     return 1;