summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p4619.C
blob: 866146a5676f07ea2d357607b33555f5b1bc1f34 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// prms-id: 4619

int main() {
  int i = 3;
  int (*p)[10] = new int [20][10];
  int (*p1)[5][7][13][10] = new int [i][5][7][13][10];
  delete [] p1;
  delete [] p;
}