[J3] Finalization Question

Vipul Parekh parekhvs at gmail.com
Fri May 27 04:15:40 UTC 2022

On Fri, May 27, 2022 at 12:08 AM Vipul Parekh <parekhvs at gmail.com> wrote:

> ..
> Of the 3 compilers I tried, only one gave my expected output:
> from final_t

Upon further thought, a better test might be with the following variant:
    subroutine sub()
      character(len=tlen(1)) :: s
      print *, "sub: len(s) = ", len(s)
   end subroutine

In which case 2 compilers are noticed to invoke the finalizer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220527/11a32a8e/attachment.htm>

More information about the J3 mailing list