[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git] / offload / test / api / assert.c
blob9a9e770f19622334548a65575cb748b9253e8bca
1 // RUN: %libomptarget-compile-run-and-check-generic
2 // RUN: %libomptarget-compileopt-run-and-check-generic
4 #include <assert.h>
5 #include <stdio.h>
7 int main() {
8 int i = 1;
9 #pragma omp target
10 assert(i > 0);
12 // CHECK: PASS
13 printf("PASS\n");
14 return 0;