2 ! Test if the array data associated with c is properly aligned
3 ! on the accelerator. If it is not, this program will crash.
5 ! This is also included from '../libgomp.fortran/pr90030.f90'.
9 program routine_align_main
12 real*8, dimension(:), allocatable
:: c
18 !$omp target map(to: n) map(from: c(1:n))
19 !$acc parallel copyin(n) copyout(c(1:n))
27 if (c(i
) .ne
. i
) stop i
29 end program routine_align_main