view flang/test/Semantics/modfile06.f90 @ 181:df311c476dd5

CreateIdentifierInfo in ParseCbC (not yet worked)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 31 May 2020 12:30:11 +0900
parents 0572611fdcc8
children 2e18cbf3894f
line wrap: on
line source

! RUN: %S/test_modfile.sh %s %t %f18
! Check modfile generation for external interface
module m
  interface
    integer function f(x)
    end function
    subroutine s(y, z)
      logical y
      complex z
    end subroutine
  end interface
end

!Expect: m.mod
!module m
! interface
!  function f(x)
!   real(4)::x
!   integer(4)::f
!  end
! end interface
! interface
!  subroutine s(y,z)
!   logical(4)::y
!   complex(4)::z
!  end
! end interface
!end