1 /* Check the case when index is out of bound */
2 /* { dg-do compile } */
3 /* { dg-options "-Warray-bounds" } */
5 #define vector __attribute__((vector_size(16) ))
11 return a
[10]; /* { dg-warning "index value is out of bound" } */
17 return a
[-1]; /* { dg-warning "index value is out of bound" } */