Sign in
llvm
/
llvm-archive
/
cfaec05de39adb34392b8c7b1ad4b32abbf3663d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
vla-1.c
blob: bb37f33e60f747d6a20e1d1bf654632b81abfd5e [
file
] [
log
] [
blame
]
// { dg-do compile }
void
foo
(
int
n
)
{
int
A
[
n
];
#pragma
omp parallel
default
(
none
)
// { dg-error "enclosing" }
{
A
[
0
]
=
0
;
// { dg-error "'A' not specified" }
}
}