Retro68/gcc/libgomp/testsuite/libgomp.fortran/appendix-a/a.28.3.f90

12 lines
257 B
Fortran
Raw Normal View History

2012-03-27 23:13:14 +00:00
! { dg-do run }
PROGRAM A28_3
EQUIVALENCE (X,Y)
X = 1.0
!$OMP PARALLEL PRIVATE(X)
PRINT *,Y ! Y is undefined
Y = 10
PRINT *,X ! X is undefined
!$OMP END PARALLEL
END PROGRAM A28_3