summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/debug5.C
blob: 8dffa94874e03609abf539b8bfc5a8f4b495f426 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }

int foo()
{
  int a = 1;
  int b = 1;
  int e[a][b];
  e[0][0] = 0;
  return e[a-1][b-1];
}