blob: 61f64fbb9169c7d25b8758a51f8940bc781c76c2 [file] [log] [blame]
! RUN: %S/test_modfile.sh %s %t %f18
! Ensure that a dummy procedure's interface's imports
! appear in the module file.
module m
type :: t
end type
contains
subroutine s1(s2)
interface
subroutine s2(x)
import
class(t) :: x
end subroutine
end interface
end subroutine
end module
!Expect: m.mod
!module m
!type::t
!end type
!contains
!subroutine s1(s2)
!interface
!subroutine s2(x)
!import::t
!class(t)::x
!end
!end interface
!end
!end