URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [nestedfn2.f90] - Rev 438
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }integer :: icommon /c/ ii = -1!$omp parallel shared (i) num_threads (4)call test1!$omp end parallelendsubroutine test1integer :: varicall test2call test3containssubroutine test2use omp_libinteger :: icommon /c/ i!$omp singlei = omp_get_thread_num ()call test4!$omp end single copyprivate (vari)end subroutine test2subroutine test3integer :: icommon /c/ iif (i .lt. 0 .or. i .ge. 4) call abortif (i + 10 .ne. vari) call abortend subroutine test3subroutine test4use omp_libvari = omp_get_thread_num () + 10end subroutine test4end subroutine test1
Go to most recent revision | Compare with Previous | Blame | View Log
