[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git] / flang / test / Semantics / resolve26.f90
blob96c7eef1df5b764e4ea97a4c4aaf317797213d91
1 ! RUN: %S/test_errors.sh %s %t %flang_fc1
2 ! REQUIRES: shell
3 module m1
4 interface
5 module subroutine s()
6 end subroutine
7 end interface
8 end
10 module m2
11 interface
12 module subroutine s()
13 end subroutine
14 end interface
15 end
17 submodule(m1) s1
18 end
20 !ERROR: Cannot read module file for submodule 's1' of module 'm2': Source file 'm2-s1.mod' was not found
21 submodule(m2:s1) s2
22 end
24 !ERROR: Cannot read module file for module 'm3': Source file 'm3.mod' was not found
25 submodule(m3:s1) s3
26 end