2022-11-04 09:35:42 -07:00

17 lines
437 B
Fortran

! @@name: threadprivate.3
! @@type: F-fixed
! @@operation: compile
! @@expect: ct-error
! @@version: pre_omp_3.0
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