brintos

brintos / llvm-project-archived public Read only

0
0
Text · 313 B · 73a5ffa Raw
15 lines · c
1// Check that a target exit data directive behaves correctly when the runtime2// has not yet been initialized.3 4// RUN: %libomptarget-compile-run-and-check-generic5 6#include <stdio.h>7 8int main() {9  // CHECK: x = 9810  int x = 98;11#pragma omp target exit data map(from : x)12  printf("x = %d\n", x);13  return 0;14}15