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
PR c++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr59011.c
blob
b0d6c0f30a1d06e06dc72ec2f672ef80d1d8992c
1
/* PR middle-end/59011 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99" } */
4
/* { dg-require-effective-target alloca } */
5
6
void
7
foo
(
int
m
)
8
{
9
int
a
[
m
];
10
void
11
bar
(
void
)
12
{
13
{
14
int
15
baz
(
void
)
16
{
17
return
a
[
0
];
18
}
19
}
20
a
[
0
] =
42
;
21
}
22
bar
();
23
}