1
0
mirror of https://github.com/OpenMP/Examples.git synced 2025-04-11 00:42:12 +01:00
OpenMP-Examples/sources/Example_fort_sa_private.3f.f
2015-01-13 11:38:24 -08:00

16 lines
389 B
Fortran

! @@name: fort_sa_private.3f
! @@type: F-fixed
! @@compilable: maybe
! @@linkable: maybe
! @@expect: rt-error
PROGRAM PRIV_RESTRICT3
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 PRIV_RESTRICT3