14 lines · c
1// RUN: %libomptarget-compile-generic && %libomptarget-run-generic2// RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic3 4// Verify we do not read bits in the image that are not there (nobits section).5 6#pragma omp begin declare target7char BigUninitializedBuffer[4096 * 64] __attribute__((loader_uninitialized));8#pragma omp end declare target9 10int main() {11#pragma omp target12 {}13}14