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
Add new test to verify that the array index, limit, and stride are
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr49120.c
blob
1a65222cfecaa538ba7dea27e01ed2eb3173c71d
1
/* PR c/49120 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
5
int
6
main
()
7
{
8
int
a
=
1
;
9
int
c
= ({
char
b
[
a
+
1
];
b
[
0
] =
0
;
b
[
0
]; });
10
return
c
;
11
}