24 lines · plain
1!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=50 -Werror2 3subroutine f004 !$omp target defaultmap(tofrom)5 !$omp end target6end7 8subroutine f019 !$omp target defaultmap(tofrom:aggregate)10 !$omp end target11end12 13subroutine f0214 !$omp target defaultmap(from:scalar)15 !$omp end target16end17 18subroutine f0319!WARNING: ALL is not allowed in OpenMP v5.0, try -fopenmp-version=5220 !$omp target defaultmap(tofrom:all)21 !$omp end target22end23 24