repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wchar-subscripts.C
blob
bc38585d72e40e44fc330d3a1da1084af68a7bb7
1
/* Copyright (C) 2005 Free Software Foundation.
2
3
by Gabriel Dos Reis <gdr@integrable-solutions.net> */
4
5
// { dg-do compile }
6
// { dg-options "-Wchar-subscripts" }
7
8
int main()
9
{
10
int ary[256] = { 0 };
11
return ary['a'];
12
}