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

      SUBROUTINE A11_2(AA, BB, CC, DD, EE, FF, N)
      INTEGER N
      REAL AA(N,N), BB(N,N), CC(N,N)
      REAL DD(N,N), EE(N,N), FF(N,N)
!$OMP PARALLEL
!$OMP WORKSHARE
            AA = BB
            CC = DD
!$OMP END WORKSHARE NOWAIT
!$OMP WORKSHARE
            EE = FF
!$OMP END WORKSHARE
!$OMP END PARALLEL
      END SUBROUTINE A11_2