1 ! RUN: %python %S/test_modfile.py %s %flang_fc1
2 ! Ensure that interfaces, which are internal to procedures and are used to
3 ! define the interface of dummy or return value procedures, are included in
11 subroutine used_int(x
, p
)
13 real, intent(out
) :: x
15 subroutine inner_int(x
)
17 real, intent(out
) :: x
18 end subroutine inner_int
20 procedure(inner_int
) :: p
21 end subroutine used_int
23 pure
logical function unused_int(i
)
25 integer, intent(in
) :: i
26 end function unused_int
28 procedure(used_int
), pointer :: f
33 end subroutine internal
41 !real(4),intent(in)::x
43 !subroutine used_int(x,p)
44 !real(4),intent(out)::x
46 !subroutine inner_int(x)
47 !real(4),intent(out)::x
50 !procedure(inner_int)::p
53 !procedure(used_int),pointer::f