Retro68/gcc/libgomp/testsuite/libgomp.fortran/collapse4.f90
2018-12-28 16:30:48 +01:00

13 lines
243 B
Fortran

! { dg-do run }
integer :: i, j, k
!$omp parallel do lastprivate (i, j, k) collapse (3)
do i = 0, 17
do j = 0, 6
do k = 0, 5
end do
end do
end do
if (i .ne. 18 .or. j .ne. 7 .or. k .ne. 6) STOP 1
end