diff options
author | Raghu Maddhipatla <Raghu.Maddhipatla@amd.com> | 2023-05-15 18:45:20 -0500 |
---|---|---|
committer | Raghu Maddhipatla <Raghu.Maddhipatla@amd.com> | 2023-05-16 12:42:13 -0500 |
commit | 608fe0b032d96301177b3a37d2fd3678f8832c12 (patch) | |
tree | a388e0e8fcc3e7418850910d884be9d62411db6a /flang | |
parent | 893f02c2aff98364b902c08c46d602944d20c1e1 (diff) | |
download | llvm-608fe0b032d96301177b3a37d2fd3678f8832c12.tar.gz |
[Flang][OpenMP][Semantics] Added missing HostAssoc check for use_device_ptr test.
Missed adding this check in previous commit so adding it through separate commit.
Reviewed By: raghavendhra
Differential Revision: https://reviews.llvm.org/D150626
Diffstat (limited to 'flang')
-rw-r--r-- | flang/test/Semantics/OpenMP/use_device_ptr.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/test/Semantics/OpenMP/use_device_ptr.f90 b/flang/test/Semantics/OpenMP/use_device_ptr.f90 index 738904bbab64..08c25ed592a2 100644 --- a/flang/test/Semantics/OpenMP/use_device_ptr.f90 +++ b/flang/test/Semantics/OpenMP/use_device_ptr.f90 @@ -12,7 +12,7 @@ subroutine omp_target_data integer, pointer :: arrayB a = 1 !$omp target data map(tofrom: a, arrayB) use_device_ptr(b) - !CHECK: b (OmpUseDevicePtr) + !CHECK: b (OmpUseDevicePtr): HostAssoc allocate(arrayB) call c_f_pointer(b, arrayB) a = arrayB |