summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.22.6.f90
blob: 0a2e6a6836f88d07797700ffd3f9a24bb619c094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! { dg-do compile }
! { dg-require-effective-target tls }

       SUBROUTINE A22_6_GOOD()
             COMMON /T/ A
!$OMP THREADPRIVATE(/T/)
       CONTAINS
         SUBROUTINE A22_6S_GOOD()
           COMMON /T/ A
!$OMP THREADPRIVATE(/T/)
!$OMP PARALLEL COPYIN(/T/)
!$OMP END PARALLEL
        END SUBROUTINE A22_6S_GOOD
      END SUBROUTINE A22_6_GOOD