[Flang][OpenMP][Semantics] Added missing HostAssoc check for use_device_ptr test.
authorRaghu Maddhipatla <Raghu.Maddhipatla@amd.com>
Mon, 15 May 2023 23:45:20 +0000 (18:45 -0500)
committerRaghu Maddhipatla <Raghu.Maddhipatla@amd.com>
Tue, 16 May 2023 17:42:13 +0000 (12:42 -0500)
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

index 738904b..08c25ed 100644 (file)
@@ -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