view libgomp/testsuite/libgomp.fortran/appendix-a/a.28.3.f90 @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
line wrap: on
line source

! { 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