From 608fe0b032d96301177b3a37d2fd3678f8832c12 Mon Sep 17 00:00:00 2001 From: Raghu Maddhipatla Date: Mon, 15 May 2023 18:45:20 -0500 Subject: [PATCH] [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 --- flang/test/Semantics/OpenMP/use_device_ptr.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/test/Semantics/OpenMP/use_device_ptr.f90 b/flang/test/Semantics/OpenMP/use_device_ptr.f90 index 738904b..08c25ed 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 -- 2.7.4