2 // RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %T/libslfm.so -fopenmp-version=51
3 // RUN: %libomptarget-compile-generic -rpath %T -L %T -l slfm -o %t -fopenmp-version=51
4 // RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic
9 extern int func(); // Provided in liba.so, returns 42
10 typedef int (*fp_t
)();
16 #pragma omp target map(from : x)
18 // CHECK: Copying data from device to host, {{.*}} Size=8
19 // CHECK: Copying data from device to host, {{.*}} Size=4