mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-07 23:22:11 +01:00
17 lines
425 B
Fortran
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
|