summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran/collapse4.f90
blob: f19b0f6c695c671d2d1b193b0ff8cd628b0609ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { 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) call abort
end