c425e66b27
libgomp/ * testsuite/libgomp.fortran/: Replace 'STOP' by 'stop'. From-SVN: r277609
17 lines
221 B
Fortran
17 lines
221 B
Fortran
! { dg-do run }
|
|
! 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
|