Sign in
llvm
/
llvm-project
/
openmp
/
b7b760671b6c21371cd2a4b9eaadb07dfc0ff35d
/
.
/
libomptarget
/
test
/
api
/
assert.c
blob: b1288777888ec6e991135527a55a46d11aade7f5 [
file
] [
log
] [
blame
]
// RUN: %libomptarget-compile-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
;
}