Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/pr35130.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! { dg-do run } ! PR middle-end/35130 program pr35130 implicit none real, dimension(20) :: a integer :: k a(:) = 0.0 !$omp parallel do private(k) do k=1,size(a) call inner(k) end do !$omp end parallel do if (any (a.ne.42)) stop 1 contains subroutine inner(i) implicit none integer :: i a(i) = 42 end subroutine inner end program pr35130