OpenMP-Examples/sources/Example_threadprivate.2.f

15 lines
366 B
Fortran

! @@name: threadprivate.2f
! @@type: F-fixed
! @@compilable: no
! @@linkable: no
! @@expect: failure
MODULE INC_MODULE
COMMON /T/ A
END MODULE INC_MODULE
SUBROUTINE INC_MODULE_WRONG()
USE INC_MODULE
!$OMP THREADPRIVATE(/T/)
!non-conforming because /T/ not declared in INC_MODULE_WRONG
END SUBROUTINE INC_MODULE_WRONG