[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / declare-mapper03.f90
blobb70b8a67f33e0850b51e15e679c1bc51087e7ef6
1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=50
2 ! Test the declare mapper construct with two default mappers.
4 type :: t1
5 integer :: y
6 end type t1
8 type :: t2
9 real :: y, z
10 end type t2
12 !error: 'default' is already declared in this scoping unit
14 !$omp declare mapper(t1::x) map(x, x%y)
15 !$omp declare mapper(t2::w) map(w, w%y, w%z)
16 end