tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / reduction7.f90
blob5f0b7bd02f88b0c84cfef78e361f81cc0693344b
1 implicit none
2 integer :: a, b, i
3 a = 0
5 !$omp simd reduction(task,+:a) ! { dg-error "invalid 'task' reduction modifier on construct other than 'parallel', 'do', 'sections' or 'scope'" }
6 do i=1,10
7 a = a + 1
8 end do
9 end