Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr59011.c
blob: b0d6c0f30a1d06e06dc72ec2f672ef80d1d8992c [
file
] [
log
] [
blame
]
/* PR middle-end/59011 */
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
/* { dg-require-effective-target alloca } */
void
foo
(
int
m
)
{
int
a
[
m
];
void
bar
(
void
)
{
{
int
baz
(
void
)
{
return
a
[
0
];
}
}
a
[
0
]
=
42
;
}
bar
();
}