llvm/offload/test/offloading/bug74582.c

// RUN: %libomptarget-compile-generic && %libomptarget-run-generic
// RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic

// Verify we do not read bits in the image that are not there (nobits section).

#pragma omp begin declare target
char BigUninitializedBuffer[4096 * 64] __attribute__((loader_uninitialized));
#pragma omp end declare target

int main() {
#pragma omp target
  {}
}