☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
reduction7.f90
☽
☼
gcc/testsuite/gfortran.dg/gomp/reduction7.f90
code
plain
raw
1
implicit none
2
integer :: a, b, i
3
a = 0
4
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