mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
16 lines
205 B
Fortran
16 lines
205 B
Fortran
! PR fortran/25219
|
|
|
|
implicit none
|
|
save
|
|
integer :: i, k
|
|
k = 3
|
|
!$omp parallel
|
|
!$omp do lastprivate (k)
|
|
do i = 1, 100
|
|
k = i
|
|
end do
|
|
!$omp end do
|
|
!$omp end parallel
|
|
if (k .ne. 100) STOP 1
|
|
end
|