mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 03:29:50 +00:00
15 lines
309 B
Fortran
15 lines
309 B
Fortran
! { dg-do run }
|
|
|
|
SUBROUTINE SUB()
|
|
COMMON /BLOCK/ X
|
|
PRINT *,X ! X is undefined
|
|
END SUBROUTINE SUB
|
|
PROGRAM A28_1
|
|
COMMON /BLOCK/ X
|
|
X = 1.0
|
|
!$OMP PARALLEL PRIVATE (X)
|
|
X = 2.0
|
|
CALL SUB()
|
|
!$OMP END PARALLEL
|
|
END PROGRAM A28_1
|