[flang-commits] [flang] [llvm] [mlir] [flang][OpenMP] Implicitly map allocatable record fields (PR #117867)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Tue Dec 3 05:37:34 PST 2024
================
@@ -0,0 +1,52 @@
+! Test implicit mapping of alloctable record fields.
+
+! REQUIRES: flang, amdgpu
+
+! This fails only because it needs the Fortran runtime built for device. If this
+! is avaialbe, this test succeedds when run.
+! XFAIL: *
+
+! RUN: %libomptarget-compile-fortran-generic
+! RUN: env LIBOMPTARGET_INFO=16 %libomptarget-run-generic 2>&1 | %fcheck-generic
+program test_implicit_field_mapping
+ implicit none
+
+ type recored_t
----------------
luporl wrote:
```suggestion
type record_t
```
https://github.com/llvm/llvm-project/pull/117867
More information about the flang-commits
mailing list