summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.fortran/appendix-a/a.26.1.f90
blob: e9ebf87af73cb0d7fd099063eec5e727b5903f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do run }
       PROGRAM A26
         INTEGER I, J
         I=1
         J=2
!$OMP PARALLEL PRIVATE(I) FIRSTPRIVATE(J)
           I=3
           J=J+2
!$OMP END PARALLEL
          PRINT *, I, J ! I and J are undefined
      END PROGRAM A26