[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / parallel-critical-do.f90
blob6e10b46dea9a00533e8f474625b7ad061b14729f
1 ! RUN: %python %S/../test_symbols.py %s %flang_fc1 -fopenmp
3 ! Check that loop iteration variables are private and predetermined, even when
4 ! nested inside parallel/critical constructs.
6 !DEF: /test1 (Subroutine) Subprogram
7 subroutine test1
8 !DEF: /test1/i ObjectEntity INTEGER(4)
9 integer i
11 !$omp parallel default(none)
12 !$omp critical
13 !DEF: /test1/OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
14 do i = 1, 10
15 end do
16 !$omp end critical
17 !$omp end parallel
18 end subroutine