1! RUN: %S/test_errors.sh %s %t %flang_fc1 2! REQUIRES: shell 3module m1 4 interface 5 module subroutine s() 6 end subroutine 7 end interface 8end 9 10module m2 11 interface 12 module subroutine s() 13 end subroutine 14 end interface 15end 16 17submodule(m1) s1 18end 19 20!ERROR: Cannot read module file for submodule 's1' of module 'm2': Source file 'm2-s1.mod' was not found 21submodule(m2:s1) s2 22end 23 24!ERROR: Cannot read module file for module 'm3': Source file 'm3.mod' was not found 25submodule(m3:s1) s3 26end 27