Mercurial > hg > CbC > CbC_gcc
comparison libgomp/testsuite/libgomp.fortran/appendix-a/a.38.1.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 ! { dg-do compile } | |
2 | |
3 FUNCTION NEW_LOCKS() | |
4 USE OMP_LIB ! or INCLUDE "omp_lib.h" | |
5 INTEGER(OMP_LOCK_KIND), DIMENSION(1000) :: NEW_LOCKS | |
6 INTEGER I | |
7 !$OMP PARALLEL DO PRIVATE(I) | |
8 DO I=1,1000 | |
9 CALL OMP_INIT_LOCK(NEW_LOCKS(I)) | |
10 END DO | |
11 !$OMP END PARALLEL DO | |
12 END FUNCTION NEW_LOCKS |