1 ! REQUIRES: flang, amdgpu
2 ! RUN: %libomptarget-compile-fortran-run-and-check-generic
10 print *, "var4 before target =", var4
11 !$omp target map(tofrom:var4)
14 print *, "var4 after target =", var4
17 ! CHECK: var4 before target = 24
18 ! CHECK: var4 after target = 12