[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / shared-pointer.f90
blob6826086d02a54b4d525f01a78e14d5c4c67c177f
1 !RUN: %flang_fc1 -fopenmp -emit-fir -o - %s | FileCheck %s
2 !RUN: bbc -fopenmp -emit-fir -o - %s | FileCheck %s
4 !Allow POINTER variables in OpenMP SHARED clause. Check that this
5 !code compiles.
7 !CHECK-LABEL: func.func @_QPfoo
8 subroutine foo()
9 procedure(), pointer :: pf
10 !$omp parallel shared(pf)
11 !$omp end parallel
12 end