1 ! Offloading test checking interaction of mapping a member of a common block to
3 ! REQUIRES: flang, amdgcn-amd-amdhsa
4 ! UNSUPPORTED: nvptx64-nvidia-cuda
5 ! UNSUPPORTED: nvptx64-nvidia-cuda-LTO
6 ! UNSUPPORTED: aarch64-unknown-linux-gnu
7 ! UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
8 ! UNSUPPORTED: x86_64-unknown-linux-gnu
9 ! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO
11 ! RUN: %libomptarget-compile-fortran-run-and-check-generic
14 common /var_common
/ var1
, var2
19 !$omp target map(tofrom: var2)
30 common /var_common
/ var1
, var2
32 !$omp target map(tofrom: var2)
38 common /var_common
/ var1
, var2
40 !$omp target map(tofrom: var2)