Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
vla-5.c
blob: 20be204a5e15205f82f737d669f6b8278feb971f [
file
] [
log
] [
blame
]
// { dg-do compile }
/* { dg-require-effective-target alloca } */
void
foo
(
int
n
,
int
i
)
{
int
A
[
n
];
#pragma
omp parallel sections lastprivate
(
A
)
{
A
[
i
]
=
1
;
}
}