2 /* { dg-set-target-env-var OMP_TARGET_OFFLOAD "default" } */
3 /* { dg-set-target-env-var OMP_DISPLAY_ENV "true" } */
5 /* { dg-output ".*OMP_DEFAULT_DEVICE = '0'.*OMP_TARGET_OFFLOAD = 'DEFAULT'.*" } */
13 #pragma omp target map(tofrom:x)
14 x
= 5 + omp_is_initial_device ();
16 if (x
!= 5 + (omp_get_default_device() == omp_get_initial_device()))