mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-08 05:54:40 +00:00
18 lines
308 B
Fortran
18 lines
308 B
Fortran
|
! PR fortran/46753
|
||
|
! { dg-do run }
|
||
|
|
||
|
integer :: i, j
|
||
|
j = 0
|
||
|
!$omp parallel do reduction(+:j)
|
||
|
do i = 2147483636, 2147483646
|
||
|
j = j + 1
|
||
|
end do
|
||
|
if (j.ne.11) call abort
|
||
|
j = 0
|
||
|
!$omp parallel do reduction(+:j)
|
||
|
do i = -2147483637, -2147483647, -1
|
||
|
j = j + 1
|
||
|
end do
|
||
|
if (j.ne.11) call abort
|
||
|
end
|