1 | // RUN: %libomptarget-compile-generic && %libomptarget-run-generic |
---|---|
2 | // RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic |
3 | |
4 | // Verify we do not read bits in the image that are not there (nobits section). |
5 | |
6 | #pragma omp begin declare target |
7 | char BigUninitializedBuffer[4096 * 64] __attribute__((loader_uninitialized)); |
8 | #pragma omp end declare target |
9 | |
10 | int main() { |
11 | #pragma omp target |
12 | {} |
13 | } |
14 |