summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.23.3.f90
blob: abd80410284b6cca47b6c152f40ccc19ea6df26b (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }

      SUBROUTINE A23_3_GOOD()
        COMMON /C/ X,Y
!$OMP PARALLEL PRIVATE (/C/)
          ! do work here
!$OMP END PARALLEL
!$OMP PARALLEL SHARED (/C/)
          ! do work here
!$OMP END PARALLEL
      END SUBROUTINE A23_3_GOOD