Mercurial > hg > CbC > CbC_gcc
comparison libgomp/testsuite/libgomp.fortran/pr35130.f90 @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 ! PR middle-end/35130 | |
2 | |
3 program pr35130 | |
4 implicit none | |
5 real, dimension(20) :: a | |
6 integer :: k | |
7 a(:) = 0.0 | |
8 !$omp parallel do private(k) | |
9 do k=1,size(a) | |
10 call inner(k) | |
11 end do | |
12 !$omp end parallel do | |
13 if (any (a.ne.42)) call abort | |
14 contains | |
15 subroutine inner(i) | |
16 implicit none | |
17 integer :: i | |
18 a(i) = 42 | |
19 end subroutine inner | |
20 end program pr35130 |