1 // RUN: %libomptarget-compile-generic
2 // RUN: %libomptarget-run-generic 2>&1 \
3 // RUN: | %fcheck-generic
10 #pragma omp target enter data map(alloc : i)
12 // i isn't present at the end of the target data region, but the "present"
13 // modifier is only checked at the beginning of a region.
14 #pragma omp target data map(present, alloc : i)
16 #pragma omp target exit data map(delete : i)
19 // CHECK-NOT: Libomptarget
21 // CHECK-NOT: Libomptarget
22 fprintf(stderr
, "success\n");