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

      SUBROUTINE INIT(A,B)
      REAL A, B
        COMMON /XY/ X,Y
!$OMP THREADPRIVATE (/XY/)
!$OMP SINGLE
          READ (11) A,B,X,Y
!$OMP END SINGLE COPYPRIVATE (A,B,/XY/)
      END SUBROUTINE INIT