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

13 lines
342 B
Fortran

! @@name: fort_sp_common.4
! @@type: F-fixed
! @@operation: compile
! @@expect: ct-error
! @@version: pre_omp_3.0
SUBROUTINE COMMON_WRONG()
COMMON /C/ X,Y
! Incorrect because X is a constituent element of C
!$OMP PARALLEL PRIVATE(/C/), SHARED(X)
! do work here
!$OMP END PARALLEL
END SUBROUTINE COMMON_WRONG