1 ! RUN: bbc -emit-fir -hlfir %s -o - | FileCheck %s
2 ! RUN: bbc -emit-fir %s -o - | FileCheck %s
4 ! Test that the intent(out) allocatable dummy argument
5 ! is not deallocated in entry SUB_B.
7 ! CHECK-LABEL: func.func @_QPsub_a
10 ! CHECK-LABEL: func.func @_QPsub_b
11 ! CHECK-NOT: fir.freemem
13 INTEGER, INTENT(out
), ALLOCATABLE
, DIMENSION (:) :: A