brintos

brintos / llvm-project-archived public Read only

0
0
Text · 453 B · ec81873 Raw
14 lines · c
1// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG2// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=NDEBUG3// REQUIRES: libomptarget-debug4 5int main(void) {6#pragma omp target7  {}8  return 0;9}10 11// DEBUG: omptarget12// NDEBUG-NOT: omptarget13// NDEBUG-NOT: Target14