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
2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wchar-subscripts.c
blob
acc6d23578e1f92d48d5e65460c8ad41fcb28311
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
(
void
)
9
{
10
int
ary
[
256
] = {
0
};
11
return
ary
[
'a'
];
12
}