19 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=602 3type :: t14 integer :: y5end type6 7type :: t28 integer :: y9end type10 11!ERROR: DECLARE_MAPPER directive should have a single argument12!$omp declare mapper(m1:t1::x, m2:t2::x) map(x, x%y)13 14integer :: x(10)15!ERROR: The argument to the DECLARE_MAPPER directive should be a mapper-specifier16!$omp declare mapper(x) map(to: x)17 18end19