36 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=52 -Werror2 3subroutine f00(x)4 integer :: x5!WARNING: 'self-modifier' modifier is not supported in OpenMP v5.2, try -fopenmp-version=606 !$omp target map(self: x)7 x = x + 18 !$omp end target9end10 11subroutine f01(x)12 integer, pointer :: x13!WARNING: 'ref-modifier' modifier is not supported in OpenMP v5.2, try -fopenmp-version=6014 !$omp target map(ref_ptr: x)15 x = x + 116 !$omp end target17end18 19subroutine f02(x)20 integer, pointer :: x21!WARNING: 'ref-modifier' modifier is not supported in OpenMP v5.2, try -fopenmp-version=6022 !$omp target map(ref_ptee: x)23 x = x + 124 !$omp end target25end26 27subroutine f03(x)28 integer, pointer :: x29!WARNING: 'ref-modifier' modifier is not supported in OpenMP v5.2, try -fopenmp-version=6030 !$omp target map(ref_ptr_ptee: x)31 x = x + 132 !$omp end target33end34 35 36