blob: 4fbaa8a03cb06aa6d7c46be23bde6e11d971b5c8 [file] [log] [blame]
/* { dg-do compile } */
void bar (int);
void
foo ()
{
int i;
#pragma omp parallel for ordered(1)
for (i = 0; i < 100; ++i)
{
#pragma omp ordered depend(sink:i-1,) /* { dg-error "expected '\\\)' before ',' token" } */
bar (i);
#pragma omp ordered depend(source)
}
}