Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/Wchar-subscripts.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 } |