[flang] Make sure derived-type finalization is done before return
Finalization needs to be done before the terminator. In case of end program, this was done after it and trigger a verifier error. This patch fixes this case. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D143055
Loading
Please sign in to comment