2 ! Test whether allocatable privatized arrays has "not currently allocated"
3 ! status at the start of OpenMP constructs.
9 integer, dimension(:), allocatable
:: a
12 !$omp parallel do num_threads (4) private (n, a, i) &
13 !$omp & reduction (.or.: r) schedule (static)
15 r
= r
.or
. allocated (a
)
17 r
= r
.or
. .not
. allocated (a
)
22 r
= r
.or
. allocated (a
)