Debian Codegraph @

gcc/testsuite/gcc.dg/Wchar-subscripts.c

raw
1 /* Copyright (C) 2005 Free Software Foundation.
2
3 by Gabriel Dos Reis <[email protected]> */
4
5 /* { dg-do compile } */
6 /* { dg-options "-Wchar-subscripts" } */
7
8 int main(void)
9 {
10 int ary[256] = { 0 };
11 return ary['a'];
12 }