2 /* { dg-do compile } */
3 /* { dg-options "-Wchar-subscripts" } */
10 return a
[c
] /* { dg-warning "11:array subscript has type .char." } */
11 + a
[c
] /* { dg-warning "14:array subscript has type .char." } */
12 + a
[c
]; /* { dg-warning "16:array subscript has type .char." } */