blob: 84029a55e0c0a6b8a71b01149a6ca8060160d18a [file] [log] [blame] [edit]
// clang-format off
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=NDEBUG
// REQUIRES: libomptarget-debug
// clang-format on
int main(void) {
#pragma omp target
{}
return 0;
}
// DEBUG: omptarget
// NDEBUG-NOT: omptarget
// NDEBUG-NOT: Target