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

12 lines
246 B
Fortran
Raw Normal View History

2012-03-27 23:13:14 +00:00
! { 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