================ @@ -0,0 +1,23 @@ +// clang-format off +// RUN: %libomptarget-compilexx-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic +// clang-format on + +struct DataTy { + float a; + float b[2]; ---------------- alexey-bataev wrote:
Could you change the size of the array to, say, 3 instead of 2? Required to check that we map the requested array section, not the whole array. https://github.com/llvm/llvm-project/pull/74692 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits