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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr49120.c
blob
50993e69dfd2b1ca428f0db93d365a4cd56f4d85
1
/* PR c/49120 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
/* { dg-require-effective-target alloca } */
5
6
int
7
main
()
8
{
9
int
a
=
1
;
10
int
c
= ({
char
b
[
a
+
1
];
b
[
0
] =
0
;
b
[
0
]; });
11
return
c
;
12
}