diff --git a/flang/test/Lower/OpenMP/derived-type-allocatable.f90 b/flang/test/Lower/OpenMP/derived-type-allocatable.f90 index 2dc4e20f27af2..1d6e22212eedd 100644 --- a/flang/test/Lower/OpenMP/derived-type-allocatable.f90 +++ b/flang/test/Lower/OpenMP/derived-type-allocatable.f90 @@ -24,6 +24,9 @@ module m1 !CHECK-LABEL: omp.private {type = private} @_QMm1Ftest_array_of_allocs !CHECK: fir.call @_FortranAInitializeClone !CHECK-NEXT: omp.yield +!CHECK: } dealloc { +!CHECK: fir.call @_FortranAAllocatableDeallocate +!CHECK: omp.yield !CHECK-LABEL: omp.private {type = firstprivate} @_QMm1Ftest_array !CHECK-NOT: fir.call @_FortranAInitializeClone