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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
pr81006.c
blob
a826c5f5a5395edfd43319eaaa3ae1de55f5b4ff
1
/* PR c/81006 */
2
/* { dg-do compile } */
3
4
int
a
[] = {};
5
6
void
foo
()
7
{
8
#pragma omp task depend(out: a[:])
/* { dg-error "zero length array section in .depend. clause" } */
9
{}
10
}