[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / present.f90
blob31bdcc7a8c654ee61e86f9211fba3e293767747f
1 ! RUN: %flang_fc1 -fopenmp -fsyntax-only %s
3 ! Check that using 'present' inside 'parallel' doesn't cause syntax errors.
4 subroutine test_present(opt)
5 integer, optional :: opt
6 !$omp parallel
7 if (present(opt)) print *, "present"
8 !$omp end parallel
9 end subroutine