1 /* Testing 'has_device_addr' clause on the target construct with reference. */
8 int *dp = (int*)omp_target_alloc (sizeof(int), 0);
10 #pragma omp target is_device_ptr(dp)
15 #pragma omp target has_device_addr(x)
18 #pragma omp target has_device_addr(x)
22 omp_target_free(dp, 0);