1 // RUN: %libomptarget-compile-generic -fopenmp-version=51
2 // RUN: %libomptarget-run-generic 2>&1 \
3 // RUN: | %fcheck-generic
12 printf("%d, %p\n", xp
[1], &xp
[1]);
13 #pragma omp target data use_device_addr(xp[1 : 3]) map(tofrom : x)
14 #pragma omp target is_device_ptr(xp)
17 printf("%d, %p\n", xp
[1], &xp
[1]);