6 EQUIVALENCE (A(51), B(1))
7 !$OMP PARALLEL DO DEFAULT(PRIVATE) PRIVATE(I,J) LASTPRIVATE(A)
13 A(J
) = J
! B becomes undefined at this point
16 B(J
) = B(J
) + 1 ! B is undefined
17 ! A becomes undefined at this point
20 !$OMP END PARALLEL DO ! The LASTPRIVATE write for A has
22 PRINT *, B
! B is undefined since the LASTPRIVATE
23 ! write of A was not defined