bolt/deps/llvm-18.1.8/openmp/libomptarget/test/offloading/bug74582.c
2025-02-14 19:21:04 +01:00

13 lines
401 B
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
{}
}