tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / depend-1.f90
blobbd6d26a383087dc6a4bd201cb14371ae632e89b1
1 ! { dg-do compile }
3 subroutine foo (x)
4 integer :: x(5, *)
5 !$omp parallel
6 !$omp single
7 !$omp task depend(in:x(:,5))
8 !$omp end task
9 !$omp task depend(in:x(5,:)) ! { dg-error "Rightmost upper bound of assumed size array section|proper array section" }
10 !$omp end task
11 !$omp end single
12 !$omp end parallel
13 end