repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git]
/
offload
/
test
/
api
/
assert.c
blob
9a9e770f19622334548a65575cb748b9253e8bca
1
// RUN: %libomptarget-compile-run-and-check-generic
2
// RUN: %libomptarget-compileopt-run-and-check-generic
3
4
#include <assert.h>
5
#include <stdio.h>
6
7
int
main
() {
8
int
i
=
1
;
9
#pragma omp target
10
assert
(
i
>
0
);
11
12
// CHECK: PASS
13
printf
(
"PASS
\n
"
);
14
return
0
;
15
}