OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wchar-subscripts.C
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
}