2 ! { dg-options "-fopenmp" }
4 subroutine foo (vara
, varb
, varc
, vard
, n
)
5 integer :: n
, vara(n
), varb(*), varc(:), vard(6), vare(6)
7 !$omp parallel default(none) shared(vara, varb, varc, vard, vare)
16 !$omp parallel default(none) private(vara, varc, vard, vare)
22 !$omp parallel default(none) firstprivate(vara, varc, vard, vare)
28 !$omp parallel default(none) ! { dg-error "enclosing parallel" }
30 vara(1) = 1 ! { dg-error "not specified" }
31 varb(1) = 1 ! Assumed-size is predetermined
32 varc(1) = 1 ! { dg-error "not specified" }
33 vard(1) = 1 ! { dg-error "not specified" }
34 vare(1) = 1 ! { dg-error "not specified" }