view flang/test/Semantics/resolve26.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_errors.sh %s %t %f18
module m1
  interface
    module subroutine s()
    end subroutine
  end interface
end

module m2
  interface
    module subroutine s()
    end subroutine
  end interface
end

submodule(m1) s1
end

!ERROR: Error reading module file for submodule 's1' of module 'm2'
submodule(m2:s1) s2
end

!ERROR: Error reading module file for module 'm3'
submodule(m3:s1) s3
end