Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/taskwait-depend-nowait-1.f90

raw
1 subroutine foo (p)
2 integer :: p(*)
3 !$omp taskwait depend(iterator(i = 1:17) , in : p(i)) nowait depend(out : p(32))
4 end
5
6 subroutine bar (p)
7 implicit none
8 integer :: p(*)
9 !$omp taskwait depend(mutexinoutset : p(1)) nowait ! { dg-error "'mutexinoutset' kind in 'depend' clause on a 'taskwait' construct" }
10 end
11
12 subroutine baz
13 !$omp taskwait nowait ! { dg-error "'taskwait' construct with 'nowait' clause but no 'depend' clauses" }
14 end