blob: 7ea7b95273cce5dd28a2e2e6e4d3433f85fe3823 [file] [log] [blame] [edit]
// RUN: %libomptarget-compile-run-and-check-generic
// RUN: %libomptarget-compileopt-run-and-check-generic
// XFAIL: intelgpu
#include <assert.h>
#include <stdio.h>
int main() {
int i = 1;
#pragma omp target
assert(i > 0);
// CHECK: PASS
printf("PASS\n");
return 0;
}