1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp -fopenmp-version=45
3 subroutine bad_in_45(h_ptr
)
4 integer, pointer :: h_ptr
5 !ERROR: USE_DEVICE_ADDR clause is not allowed on directive TARGET DATA in OpenMP v4.5, try -fopenmp-version=50
6 !$omp target data use_device_addr(h_ptr)