1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
4 ! List items used in depend clauses cannot be zero-length array sections.
7 integer :: a(10) , b(10,10)
14 !ERROR: 'a' in DEPEND clause is a zero size array section
15 !ERROR: 'b' in DEPEND clause is a zero size array section
16 !$omp task shared(a,b) depend(out: a(2:1), b(3:1, 1:-1))
20 !ERROR: Stride should not be specified for array section in DEPEND clause
21 !$omp task shared(x) depend(in: a(5:10:1))
28 end program omp_depend