repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git]
/
flang
/
test
/
Semantics
/
resolve26.f90
blob
96c7eef1df5b764e4ea97a4c4aaf317797213d91
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
9
10
module
m2
11
interface
12
module subroutine
s
()
13
end subroutine
14
end interface
15
end
16
17
submodule
(
m1
)
s1
18
end
19
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
23
24
!ERROR: Cannot read module file for module 'm3': Source file 'm3.mod' was not found
25
submodule
(
m3
:
s1
)
s3
26
end