3 ! Parsing of finalizer procedure definitions.
4 ! Check that FINAL-declarations are only allowed on types defined in the
5 ! specification part of a module.
16 INTEGER, ALLOCATABLE :: fooarr(:)
19 FINAL :: myfinal ! { dg-error "in the specification part of a MODULE" }
24 SUBROUTINE myfinal (el)
26 END SUBROUTINE myfinal