1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Warray-bounds" } */
8 return a
[i
]; /* { dg-warning "outside array bounds" } */
14 return a
[i
]; /* { dg-bogus "outside array bounds" } */
20 return &a
[i
]; /* { dg-warning "outside array bounds" } */
26 return &a
[i
]; /* { dg-bogus "outside array bounds" } */