[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80907.c
blob56e1d3625936345f5c0c990228f4a0fd558fcbce
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -Warray-bounds" } */
6 int x[3];
7 int n=2;
8 void foo()
10 for(int i=0;i<n;i++) for(int j=0;j<=i;j++) x[i+j]++;