12 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=502! Test the declare mapper construct with abstract type.3 4type, abstract :: t15 integer :: y6end type t17 8!ERROR: ABSTRACT derived type may not be used here9!ERROR: Reference to object with abstract derived type 't1' must be polymorphic10!$omp declare mapper(mm : t1::x) map(x, x%y)11end12