summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/appendix-a/a.11.7.f90
blob: 86b8c7bc5b52e95b74fde0b3a1d75b1c44c36f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
      SUBROUTINE A11_7(AA, BB, CC, N)
      INTEGER N
      REAL AA(N), BB(N), CC(N)
!$OMP PARALLEL
!$OMP WORKSHARE
            AA(1:50) = BB(11:60)
            CC(11:20) = AA(1:10)
!$OMP END WORKSHARE
!$OMP END PARALLEL
      END SUBROUTINE A11_7