You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
602 B

! RUN: %S/test_modfile.sh %s %t %f18
module m
type :: t
procedure(a), pointer, pass :: c
procedure(a), pointer, pass(x) :: d
contains
procedure, pass(y) :: a, b
end type
contains
subroutine a(x, y)
class(t) :: x, y
end
subroutine b(y)
class(t) :: y
end
end module
!Expect: m.mod
!module m
! type::t
! procedure(a),pass,pointer::c
! procedure(a),pass(x),pointer::d
! contains
! procedure,pass(y)::a
! procedure,pass(y)::b
! end type
!contains
! subroutine a(x,y)
! class(t)::x
! class(t)::y
! end
! subroutine b(y)
! class(t)::y
! end
!end