Sign in
chromium
/
external
/
github.com
/
llvm
/
llvm-project.git
/
7eeec8e6d10a796974c3439529f3de690251b004
/
.
/
offload
/
test
/
api
/
assert.c
blob: 9a9e770f19622334548a65575cb748b9253e8bca [
file
] [
log
] [
blame
]
// 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
;
}