blob: a826c5f5a5395edfd43319eaaa3ae1de55f5b4ff [file] [log] [blame]
/* PR c/81006 */
/* { dg-do compile } */
int a[] = {};
void foo()
{
#pragma omp task depend(out: a[:]) /* { dg-error "zero length array section in .depend. clause" } */
{}
}