brintos

brintos / llvm-project-archived public Read only

0
0
Text · 262 B · 9a9e770 Raw
16 lines · c
1// RUN: %libomptarget-compile-run-and-check-generic2// RUN: %libomptarget-compileopt-run-and-check-generic3 4#include <assert.h>5#include <stdio.h>6 7int main() {8  int i = 1;9#pragma omp target10  assert(i > 0);11 12  // CHECK: PASS13  printf("PASS\n");14  return 0;15}16