aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/gomp/taskwait-depend-1.c
blob: 1fcce7493ef1eecde6c88b005073585d2e53426b (plain)
1
2
3
4
5
6
7
8
9
10
11
void
foo (int *p)
{
  #pragma omp taskwait depend(iterator(i = 0:16) , in : p[i]) depend(out : p[32])
}

void
bar (int *p)
{
  #pragma omp taskwait depend(mutexinoutset : p[0])	/* { dg-error "'mutexinoutset' kind in 'depend' clause on a 'taskwait' construct" } */
}