29 lines · plain
1! RUN: %python %S/test_modfile.py %s %flang_fc12! Check modfile generation for external interface3module m4 interface5 integer function f(x)6 end function7 subroutine s(y, z)8 logical y9 complex z10 end subroutine11 end interface12end13 14!Expect: m.mod15!module m16! interface17! function f(x)18! real(4)::x19! integer(4)::f20! end21! end interface22! interface23! subroutine s(y,z)24! logical(4)::y25! complex(4)::z26! end27! end interface28!end29