1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Warray-bounds" } */
7 return &a
[10]; /* { dg-bogus "above array bounds" } */
11 return &a
[11]; /* { dg-warning "above array bounds" } */
15 return a
[9]; /* { dg-bogus "above array bounds" } */
19 return a
[10]; /* { dg-warning "above array bounds" } */