Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/target5.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children | 84e7813d76e9 |
line wrap: on
line source
! { dg-do compile } integer :: r r = 0 call foo (r) if (r /= 11) call abort contains subroutine foo (r) integer :: i, r !$omp parallel !$omp single !$omp target teams distribute parallel do reduction (+: r) do i = 1, 10 r = r + 1 end do r = r + 1 !$omp end single !$omp end parallel end subroutine end