blob: 22742532ad5e517517a52de9252eb8f35c97e180 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
! RUN: %S/test_modfile.sh %s %t %flang_fc1
! 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
|