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

       SUBROUTINE A27()
         INTEGER I, A
!$OMP PARALLEL PRIVATE(A)
!$OMP PARALLEL DO PRIVATE(A)
           DO I = 1, 10
              ! do work here
          END DO
!$OMP END PARALLEL DO
!$OMP END PARALLEL
      END SUBROUTINE A27