blob: 544a87db56a7fa65fa0e3b6c64a8a213feb1a218 [file]
! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=51
subroutine sub
integer :: x
!$omp taskwait depend(in: x) nowait
!ERROR: A NOWAIT clause may only appear on TASKWAIT if a DEPEND clause is present
!$omp taskwait nowait
end subroutine sub