PR middle-end/27945
[official-gcc.git] / gcc / testsuite / gcc.dg / Wchar-subscripts.c
blobacc6d23578e1f92d48d5e65460c8ad41fcb28311
1 /* Copyright (C) 2005 Free Software Foundation.
3 by Gabriel Dos Reis <gdr@integrable-solutions.net> */
5 /* { dg-do compile } */
6 /* { dg-options "-Wchar-subscripts" } */
8 int main(void)
10 int ary[256] = { 0 };
11 return ary['a'];