☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
OpenMP
/
bug69198.c
☽
☼
clang/test/OpenMP/bug69198.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -verify -fsyntax-only -fopenmp -x c %s
2
3
int c[-1]; // expected-error {{'c' declared as an array with a negative size}}
4
5
void foo (){
6
#pragma omp task depend(inout: c[:][:])
7
{
8
c[0] = 1;
9
}
10
}