1 /* Testing 'has_device_addr' clause on the target construct with reference. */
8 int *dpx = (int*)omp_target_alloc (sizeof(int), 0);
9 int **dpy = (int**)omp_target_alloc (sizeof(int*), 0);
11 #pragma omp target is_device_ptr(dpx, dpy)
21 #pragma omp target has_device_addr(x, y)
27 #pragma omp target has_device_addr(x, y)
28 if (x != 24 || y != &x)
31 omp_target_free(dpx, 0);
32 omp_target_free(dpy, 0);