10 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp -fopenmp-version=452 3subroutine bad_in_45(h_ptr)4 integer, pointer :: h_ptr5 !ERROR: USE_DEVICE_ADDR clause is not allowed on directive TARGET DATA in OpenMP v4.5, try -fopenmp-version=506 !$omp target data use_device_addr(h_ptr)7 !$omp end target data8end9 10