Files
clang-p2996/flang/test/Semantics/OpenMP/declare-mapper01.f90
Mats Petersson ec1e0c5ecd [Flang][OMP]Add support for DECLARE MAPPER parsing and semantics (#115160)
Will hit a TODO in the lowering, which there are tests added to check
for this happening.
2024-11-14 09:35:34 +00:00

9 lines
226 B
Fortran

! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=50
! Test the declare mapper with non-derived type.
integer :: y
!ERROR: Type is not a derived type
!$omp declare mapper(mm : integer::x) map(x, y)
end