1 !RUN: %python %S/../test_errors.py %s %flang -fopenmp
2 ! Positive tests for default(none)
9 real :: a(10), b(10), k
13 real, intent(in
) :: a
, b
17 procedure(iface
) :: compute
18 procedure(iface
), pointer :: ptr
=> NULL()
20 !$omp parallel default(none) shared(a,b,k) private(i)
22 b(i
) = k
+ sin(a(i
)) + inc(a(i
)) + fn1(a(i
)) + compute(a(i
),k
) + add(k
, k
)
33 real, intent(in
) :: x
, y
43 !construct-name inside default(none)
45 !$omp parallel default(none)
51 ! Test that default(none) does not error for assumed-size array
53 real,dimension(*),intent(in
)::aaa
56 !$omp parallel do private(ip,ccc) default(none)