OpenMP-Examples/sources/Example_threadprivate.3f.f
2015-01-13 11:38:24 -08:00

17 lines
425 B
Fortran

! @@name: threadprivate.3f
! @@type: F-fixed
! @@compilable: no
! @@linkable: no
! @@expect: failure
SUBROUTINE INC_WRONG()
COMMON /T/ A
!$OMP THREADPRIVATE(/T/)
CONTAINS
SUBROUTINE INC_WRONG_SUB()
!$OMP PARALLEL COPYIN(/T/)
!non-conforming because /T/ not declared in INC_WRONG_SUB
!$OMP END PARALLEL
END SUBROUTINE INC_WRONG_SUB
END SUBROUTINE INC_WRONG