bolt/deps/llvm-18.1.8/openmp/libomptarget/test/api/assert.c
2025-02-14 19:21:04 +01:00

15 lines
262 B
C

// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
#include <assert.h>
#include <stdio.h>
int main() {
int i = 1;
#pragma omp target
assert(i > 0);
// CHECK: PASS
printf("PASS\n");
return 0;
}