Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / resolve26.f90
blob5e77cc4fbe9a5091990d1a14f79bb8628d5f0b25
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 module m1
3 interface
4 module subroutine s()
5 end subroutine
6 end interface
7 end
9 module m2
10 interface
11 module subroutine s()
12 end subroutine
13 end interface
14 end
16 submodule(m1) s1
17 end
19 !ERROR: Cannot read module file for submodule 's1' of module 'm2': Source file 'm2-s1.mod' was not found
20 submodule(m2:s1) s2
21 end
23 !ERROR: Cannot read module file for module 'm3': Source file 'm3.mod' was not found
24 submodule(m3:s1) s3
25 end