PR testsuite/86649
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr79159.C
blobe15e1170c41e161ede55c8286c0d684ddb55d04e
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -Wall" } */
4 void foo(float tmpCorr[9][9]);
5 float bar;
7 void finalDigits(int& n)
9   float tmpCorr[9][9] = {{0}};
11   foo(tmpCorr);
12   for (int i = 0; i < n; i++) {
13     for (int j = i+1; j < n; j++) {
14       bar = tmpCorr[i][j];
15     }
16   }