Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wchar-subscripts.C
blob: bc38585d72e40e44fc330d3a1da1084af68a7bb7 [
file
] [
log
] [
blame
]
/* Copyright (C) 2005 Free Software Foundation.
by Gabriel Dos Reis <gdr@integrable-solutions.net> */
// { dg-do compile }
// { dg-options "-Wchar-subscripts" }
int
main
()
{
int
ary
[
256
]
=
{
0
};
return
ary
[
'a'
];
}