Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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'
];
}