aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/array2.C
blob: 255d8cce2d389e6aa0ee638a63ffb9ca3612304e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int i;

struct S {
  S () {
    ++i;
  };

  S (int) {
  };
};

int main()
{
  S s[3][3] = { 2 };

  if (i != 8)
    return 1;
}