26 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12module m13 interface4 module subroutine s()5 end subroutine6 end interface7end8 9module m210 interface11 module subroutine s()12 end subroutine13 end interface14end15 16submodule(m1) s117end18 19!ERROR: Cannot parse module file for submodule 's1' of module 'm2': Source file 'm2-s1.mod' was not found20submodule(m2:s1) s221end22 23!ERROR: Cannot parse module file for module 'm3': Source file 'm3.mod' was not found24submodule(m3:s1) s325end26