[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / complex.f90
blob62336c7e6b31abd37b417b07818b5fa8b2358f06
1 ! RUN: %flang_fc1 -fopenmp -fsyntax-only %s
3 ! Check that using %re/%im inside 'parallel' doesn't cause syntax errors.
4 subroutine test_complex_re_im
5 complex :: cc(4) = (1,2)
6 integer :: i
8 !$omp parallel do private(cc)
9 do i = 1, 4
10 print *, cc(i)%re, cc(i)%im
11 end do
12 !$omp end parallel do
13 end subroutine